Next: Exit Actions in Inetd Components, Previous: TCPMUX Services, Up: Inetd-Style Components [Contents][Index]
If the ‘sockenv’ flag is set (see sockenv), the following environment variables are set prior to executing the command:
PROTOProtocol name.
SOCKTYPESocket type. See socket-type, for a list of possible values.
LOCALIPIP address of the server which is handling the connection.
LOCALPORTLocal port number.
LOCALHOSTHost name of the server. This variable is defined only if the ‘resolve’ flag is set (see resolve).
REMOTEIPIP address of the remote party (client).
REMOTEPORTPort number on the remote side.
REMOTEHOSTHost name of the client. This variable is defined only if the ‘resolve’ flag is set (see resolve).
The variables whose names begin with REMOTE are defined only
for TCP connections.