delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/22/03:23:59

From: rene AT cas DOT et DOT tudelft DOT nl (Rene van Leuken)
Subject: fork/socket, gethostnamebyaddress, wait3
22 Jun 1997 03:23:59 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9706220927.AA10048.cygnus.gnu-win32@ddtc.et.tudelft.nl>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
Original-Sender: owner-gnu-win32 AT cygnus DOT com


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 -


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