fork and socket

Hugues Rochi Hugues.Roche@sligos.fr
Mon Apr 14 12:38:00 GMT 1997


It seems that TCP/IP sockets can not be given to a child using
stdin/stdout. Is that true ?

Used program:
s=accept(...)
dup2(s,0)
read(0,...) OK!!!!!!!!!!!!
switch(fork())
{
	case 0:
		read(0,...) fail !!!!!!!!!!
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list