My understanding is that it depends upon the type of connection. A dgram
("nowait") server is spawned separately and the socket is passed, while a
wait server is passed stdin, stdout, and stderr and managed through inetd.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-inetd.html
----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Assistant Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
New Book: http://www.press.uchicago.edu/cgi-bin/hfs.cgi/00/178592.ctl
On Wed, 24 May 2006, Dirk wrote:
I know inetd forwards a programms (servers) stdout to the client... but
where does it forward the requests from a client to? It's not stdin..
It there any simple example server available that was written to work
with inetd?
Dirk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]