tcp-env - set up TCP-related environment variables
] [ -ttimeout ] program
[ arg ...
The input for tcp-env
must be a TCP connection. tcp-env
information about that connection, puts the information into several
environment variables as described in tcp-environ(5),
with the given arguments.
is run from inetd
. It might instead be run from
another server that already sets up the right environment variables; if
is set to TCP
assumes that all the other variables are set up properly, and
it does not check whether the input is a TCP connection.
- (Default.) Attempt to obtain TCPREMOTEINFO from the remote
- Do not attempt to obtain TCPREMOTEINFO from the remote host.
- Give up on the TCPREMOTEINFO connection attempt after
timeout seconds. Default: 30.