debian/rules: Use `git' potty wrapper.
[qmail] / tcp-environ.5
CommitLineData
2117e02e
MW
1.TH tcp-environ 5
2.SH NAME
3tcp-environ \- TCP-related environment variables
4.SH DESCRIPTION
5The following environment variables
6describe a TCP connection.
7They are set up by
8.BR tcp-env ,
9.BR tcpclient ,
10and
11.BR tcpserver .
12Note that
13.BR TCPLOCALHOST ,
14.BR TCPREMOTEHOST ,
15and
16.B TCPREMOTEINFO
17can contain arbitrary characters.
18.TP 5
19PROTO
20The string
21.BR TCP .
22.TP 5
23TCPLOCALHOST
24The domain name of the local host,
25with uppercase letters converted to lowercase.
26If there is no currently available domain name
27for the local IP address,
28.B TCPLOCALHOST
29is not set.
30.TP 5
31TCPLOCALIP
32The IP address of the local host, in dotted-decimal form.
33.TP 5
34TCPLOCALPORT
35The local TCP port number, in decimal.
36.TP 5
37TCPREMOTEHOST
38The domain name of the remote host,
39with uppercase letters converted to lowercase.
40If there is no currently available domain name
41for the remote IP address,
42.B TCPREMOTEHOST
43is not set.
44.TP 5
45TCPREMOTEINFO
46A connection-specific string, perhaps a username,
47supplied by the remote host
48via 931/1413/IDENT/TAP.
49If the remote host did not supply connection information,
50.B TCPREMOTEINFO
51is not set.
52.TP 5
53TCPREMOTEIP
54The IP address of the remote host.
55.TP 5
56TCPREMOTEPORT
57The remote TCP port number.
58.SH "SEE ALSO"
59tcpclient(1),
60tcpserver(1),
61tcp-env(1),
62tcp(4)