www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/01/22:06:29

Date: Mon, 1 Mar 1999 22:06:25 -0500
Message-Id: <199903020306.WAA18787@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <199903020302.WAA09354@mccoy2.ECE.McGill.CA> (message from Alain
Magloire on Mon, 1 Mar 1999 22:02:58 -0500 (EST))
Subject: Re: inetutils
References: <199903020302 DOT WAA09354 AT mccoy2 DOT ECE DOT McGill DOT CA>
Reply-To: djgpp-workers AT delorie DOT com

> The std{in,out,err} are sockets handles.

In order to spawn a child under *any* conditions, and pass handles
which are sockets, you need an OS that understands handles as sockets.
DOS just doesn't support this, so there's no way to use djgpp for
something like inetd and still be able to use the os's
program-execution code.  You'd have to write the child programs as
dlls, dxes, or something you invent, so that you can "inherit" the
handles.  Note that ka9q does this.

- Raw text -


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