[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale]simple inetd daemon
- Subject: [ale]simple inetd daemon
- From: flowe at innoverse.com (Cleveland Flowe)
- Date: Tue, 20 Nov 2001 17:25:55 -0500
Chris Fowler wrote:
>
> I need to write a simple inetd daemon that will manage only rshd and telnetd. I know a
> bit of how it works. I need to know how 1 daemon can listen to multiple sockets.
<snip>
> I guess I could look at the basic inetd.c code but I would like to write from scratch.
man select(2) or poll(2). You should pick up a copy of the book Unix
Network Programming by Stevens, there are other issues here besides
multiplexing connections.
> What is the tcp wait and no wait options?
Whether inetd should wait for the associated process to terminate before
listening for new connections.
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.