This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fork() problem with sockets


The Fork()  

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. 

 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]