delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/10/23:37:02

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: fork() problem with sockets
10 Dec 1997 23:37:02 -0800 :
Message-ID: <01BD061E.701A01A0.cygnus.gnu-win32@gater.krystalbank.msk.ru>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>, "'Duran'" <duran AT vdl2 DOT ca>

Duran wrote:
> 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.

The problem is Win95 specific. Winsock's socket() call returns 
non-inherittable socket handle on W95. Dowload patched cygwin.dll from my 
web page.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019