File: tcp-environ.5

package info (click to toggle)
qmail 1.01-5
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,188 kB
  • ctags: 1,711
  • sloc: ansic: 13,993; makefile: 1,914; perl: 448; sh: 377
file content (62 lines) | stat: -rw-r--r-- 1,274 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.TH tcp-environ 5
.SH NAME
tcp-environ \- TCP-related environment variables
.SH DESCRIPTION
The following environment variables
describe a TCP connection.
They are set up by
.BR tcp-env ,
.BR tcpclient ,
and
.BR tcpserver .
Note that
.BR TCPLOCALHOST ,
.BR TCPREMOTEHOST ,
and
.B TCPREMOTEINFO
can contain arbitrary characters.
.TP 5
PROTO
The string
.BR TCP .
.TP 5
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,
.B TCPLOCALHOST
is not set.
.TP 5
TCPLOCALIP
The IP address of the local host, in dotted-decimal form.
.TP 5
TCPLOCALPORT
The local TCP port number, in decimal.
.TP 5
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,
.B TCPREMOTEHOST
is not set.
.TP 5
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,
.B TCPREMOTEINFO
is not set.
.TP 5
TCPREMOTEIP
The IP address of the remote host.
.TP 5
TCPREMOTEPORT
The remote TCP port number.
.SH "SEE ALSO"
tcpclient(1),
tcpserver(1),
tcp-env(1),
tcp(4)