This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
fork/socket, gethostnamebyaddress, wait3
- To: gnu-win32 at cygnus dot com
- Subject: fork/socket, gethostnamebyaddress, wait3
- From: rene at cas dot et dot tudelft dot nl (Rene van Leuken)
- Date: Sun, 22 Jun 1997 11:27:22 +0200 (METDST)
Subject: fork/socket, gethostnamebyaddr, wait3
We have ported our client/server software to Win95/NT using
the gnuwin32 gcc compiler version b18. We found the following
problems/bugs:
1) fork/socket: An Unix child process inherits all open file descriptors,
including any socket descriptor. In the gnuwin32 environment the socket
descriptors in the child process,i.e. after a fork are NOT available.
Socket descriptors are NOT inherited.
2) gethostnamebyaddr always return 0; In b17 this function was not implemented
but in b18 it is. The return 0 is still in the code but should be
return ptr. (net.cc) (May be Sergey can fix this in one of his new patches?).
3) Wait3 is not implemented. Is there a way around this? I.e. is it possible
to use waitpid for wait3?
Except these problems, porting was easy.
Regards,
--
Rene van Leuken phone: 3115 - 278 6696
Dimes Design and Test Centre fax: 3115 - 278 7564
Delft University of Technology email: rene@cas.et.tudelft.nl
P.O. Box 5053 email: rene@dimes.tudelft.nl
Mekelweg 4, H16 CAS email: R.vLeuken@et.tudelft.nl
2628 CD Delft, The Netherlands http://www.ddtc.dimes.tudelft.nl/~rene
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".