diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-30 07:56:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-30 07:56:09 +0000 |
commit | dfee1159c83b8f3c8caaf5b8b541f8e913843b6e (patch) | |
tree | 1ff59fc11a4c6a8981e78d3e109478dba5c2a693 /usr.sbin | |
parent | 7a5aac1ba74a1664e1f5bc0a07c1838ae1ac46ca (diff) |
wait wrks on tcp; rickb@iaw.on.ca
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/inetd/inetd.8 | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8 index 91f6d836df9..22375be9abf 100644 --- a/usr.sbin/inetd/inetd.8 +++ b/usr.sbin/inetd/inetd.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)inetd.8 6.7 (Berkeley) 3/16/91 -.\" $Id: inetd.8,v 1.2 1997/01/13 20:45:28 deraadt Exp $ +.\" $Id: inetd.8,v 1.3 1997/05/30 07:56:08 deraadt Exp $ .\" .Dd March 16, 1991 .Dt INETD 8 @@ -125,7 +125,6 @@ is the RPC version number. This can simply be a single numeric argument or a range of versions. A range is bounded by the low version to the high version - .Dq rusers/1-3 . - .Pp The .Em socket-type @@ -152,14 +151,14 @@ Rpc based services are specified with the or .Dq rpc/udp service type. - .Pp The .Em wait/nowait -entry is applicable to datagram sockets only (other sockets should -have a -.Dq nowait -entry in this space). If a datagram server connects +entry is used to tell +.Nm +if it should wait for the server program to return, +or continue processing connections on the socket. +If a datagram server connects to its peer, freeing the socket so .Nm inetd can received further messages on the socket, it is said to be @@ -201,6 +200,21 @@ within an interval of 60 seconds. When omitted, .Dq max defaults to 40. .Pp +Stream servers are usually marked as +.Dq nowait +but if a single server process is to handle multiple connections, it may be +marked as +.Dq wait . +The master socket will then be passed as fd 0 to the server, which will then +need to accept the incoming connection. The server should eventually time +out and exit when no more connections are active. +.Nm +will continue to +listen on the master socket for connections, so the server should not close +it when it exits. +.Xr identd 8 +is usually the only stream server marked as wait. +.Pp The .Em user entry should contain the user name of the user as whom the server |