This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
fork and socket
- To: gnu-win32 at cygnus dot com
- Subject: fork and socket
- From: "Hugues Roch\i" <Hugues dot Roche at sligos dot fr>
- Date: Mon, 14 Apr 1997 21:43:08 +0200
- Cc: gnu-win32 at cygnus dot com
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".