tcp-environ(5) tcp-environ(5) NNAAMMEE tcp-environ - TCP-related environment variables DDEESSCCRRIIPPTTIIOONN The following environment variables describe a TCP connection. They are set up by ttccpp--eennvv, ttccppcclliieenntt, and ttccppsseerrvveerr. Note that TTCCPPLLOOCCAALL-- HHOOSSTT, TTCCPPRREEMMOOTTEEHHOOSSTT, and TTCCPPRREEMMOOTTEEIINNFFOO can contain arbitrary charac- ters. PROTO The string TTCCPP. TCPLOCALHOST The domain name of the local host, with uppercase letters con- verted to lowercase. If there is no currently available domain name for the local IP address, TTCCPPLLOOCCAALLHHOOSSTT is not set. TCPLOCALIP The IP address of the local host, in dotted-decimal form. TCPLOCALPORT The local TCP port number, in decimal. TCPREMOTEHOST The domain name of the remote host, with uppercase letters con- verted to lowercase. If there is no currently available domain name for the remote IP address, TTCCPPRREEMMOOTTEEHHOOSSTT is not set. TCPREMOTEINFO A connection-specific string, perhaps a username, supplied by the remote host via 931/1413/IDENT/TAP. If the remote host did not supply connection information, TTCCPPRREEMMOOTTEEIINNFFOO is not set. TCPREMOTEIP The IP address of the remote host. TCPREMOTEPORT The remote TCP port number. SSEEEE AALLSSOO tcpclient(1), tcpserver(1), tcp-env(1), tcp(4) tcp-environ(5)