From: duran AT vdl2 DOT ca (Duran) Subject: fork() problem with sockets 10 Dec 1997 06:44:04 -0800 Message-ID: <199712101431.JAA08175.cygnus.gnu-win32@cobra.vdl2.ca> Reply-To: "Duran" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01BD0549.AA953AA0" To: This is a multi-part message in MIME format. ------=_NextPart_000_0000_01BD0549.AA953AA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The Fork()=20 Problem: The fork child does not inherate the file descriptors when = working whith sockets. How to reproduce the problem: Just create a socket server, accept a = connection and fork, you will notice that the child will not be able to = use the sockets declared before the forking.=20 ------=_NextPart_000_0000_01BD0549.AA953AA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

The = Fork()  

Problem: The fork child = does not=20 inherate the file descriptors when working whith sockets.

How to reproduce the = problem: Just=20 create a socket server, accept a connection and fork, you will notice = that the=20 child will not be able to use the sockets declared before the=20 forking. 

  ------=_NextPart_000_0000_01BD0549.AA953AA0-- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".