Subject: fork() problem with sockets
From: [email-masked] (Duran)

10 Dec 1997 06:44:04 -0800
Message-ID: <[email-masked]>
Reply-To: "Duran" <[email-masked]>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0000_01BD0549.AA953AA0"
To: <[email-masked]>

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1008.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<P><FONT color=3D#000000 face=3DArial size=3D2>The =
Fork()&nbsp;</FONT>&nbsp;</P>
<P><FONT color=3D#000000 face=3DArial size=3D2>Problem: The fork child =
does not=20
inherate the file descriptors when working whith sockets.</FONT>
<P><FONT color=3D#000000 face=3DArial size=3D2>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.&nbsp;</FONT>
<P><FONT color=3D#000000 face=3DArial =
size=3D2></FONT>&nbsp;</BODY></HTML>

------=_NextPart_000_0000_01BD0549.AA953AA0--

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".