tcp-env(1) ultrix man page | unix.com

Man Page: tcp-env

Operating Environment: ultrix

Section: 1

tcp-env(1)                                                    General Commands Manual                                                   tcp-env(1)

NAME
tcp-env - set up TCP-related environment variables
SYNOPSIS
tcp-env [ -rR ] [ -ttimeout ] program [ arg ... ]
DESCRIPTION
The input for tcp-env must be a TCP connection. tcp-env finds out information about that connection, puts the information into several environment variables as described in tcp-environ(5), and runs program with the given arguments. Usually tcp-env is run from inetd. It might instead be run from another server that already sets up the right environment variables; if PROTO is set to TCP when tcp-env is invoked, tcp-env assumes that all the other variables are set up properly, and it does not check whether the input is a TCP connection.
OPTIONS
-r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host. -R Do not attempt to obtain TCPREMOTEINFO from the remote host. -ttimeout Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 30.
SEE ALSO
tcp-environ(5), inetd(8) tcp-env(1)
Related Man Pages
tcpclient(1) - debian
tcp-environ(5) - ultrix
tcp-environ(5) - centos
tcp-environ(5) - linux
tcp-environ(5) - mojave
Similar Topics in the Unix Linux Community
shell script
shell variables advanced
awk or sed help urgent
TCP connection check
Help with shell script to check the tcp network connectivity between server