Mail Archives: cygwin/1997/06/22/03:23:59
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 AT cas DOT et DOT tudelft DOT nl
P.O. Box 5053 email: rene AT dimes DOT tudelft DOT nl
Mekelweg 4, H16 CAS email: R DOT vLeuken AT et DOT tudelft DOT 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 AT cygnus DOT com" with one line of text: "help".
- Raw text -