delorie.com/archives/browse.cgi | search |
From: | Hugues DOT Roche AT sligos DOT fr ("Hugues Roch\i") |
Subject: | fork and socket |
14 Apr 1997 14:39:14 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <335288CC.14EE.cygnus.gnu-win32@ci.sligos.fr> |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 3.0Gold (WinNT; I) |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Cc: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-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 AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |