inetd.supervisor

Syntax inetd.supervisor (stream, refcon)

Params stream is a number identifying the stream. It can be used as an argument for a tcp.closeStream call.

refcon is the port number, an entry in the user.inetd.listens table.

Action Handles an incoming TCP/IP connection.

Returns True.

Errors All errors are logged to the inetd section of the daily log GDB.

Notes This verb is called from the kernel if a client connects to a port on which the inetd framework is listening. You should never need to call it directly yourself.

This verb only performs basic connection management. The handling of higher-level protocols (e.g. HTTP) is left up to the daemon associated with the port (e.g. webserver.server).

You can shut down the inetd framework by setting user.inetd.shutdown to true.

See Also inetd.start

inetd.stop

inetd.isDaemonRunning

webserver.server

Discuss