Standards, Environments, and Macros tcp-environ(5) NNNNAAAAMMMMEEEE tcp-environ - TCP-related environment variables DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The following environment variables describe a TCP connec- tion. They are set up by ttttccccpppp----eeeennnnvvvv, ttttccccppppcccclllliiiieeeennnntttt, and ttttccccppppsssseeeerrrrvvvveeeerrrr. Note that TTTTCCCCPPPPLLLLOOOOCCCCAAAALLLLHHHHOOOOSSSSTTTT, TTTTCCCCPPPPRRRREEEEMMMMOOOOTTTTEEEEHHHHOOOOSSSSTTTT, and TTTTCCCCPPPPRRRREEEEMMMMOOOOTTTTEEEEIIIINNNNFFFFOOOO can contain arbitrary characters. PROTO The string TTTTCCCCPPPP. TCPLOCALHOST The domain name of the local host, with uppercase letters converted to lowercase. If there is no currently available domain name for the local IP address, TTTTCCCCPPPPLLLLOOOOCCCCAAAALLLLHHHHOOOOSSSSTTTT 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 converted to lowercase. If there is no currently available domain name for the remote IP address, TTTTCCCCPPPPRRRREEEEMMMMOOOOTTTTEEEEHHHHOOOOSSSSTTTT is not set. TCPREMOTEINFO A connection-specific string, perhaps a username, sup- plied by the remote host via 931/1413/IDENT/TAP. If the remote host did not supply connection information, TTTTCCCCPPPPRRRREEEEMMMMOOOOTTTTEEEEIIIINNNNFFFFOOOO is not set. TCPREMOTEIP The IP address of the remote host. TCPREMOTEPORT The remote TCP port number. SSSSEEEEEEEE AAAALLLLSSSSOOOO tcpclient(1), tcpserver(1), tcp-env(1), tcp(4) SunOS 5.11 Last change: 1