File: tcp-environ.5

package info (click to toggle)
ucspi-tcp-src 0.88-15
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 1,380 kB
  • ctags: 761
  • sloc: ansic: 6,758; makefile: 854; sh: 312
file content (66 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (2)
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
63
64
65
66
.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.
.TP 5
TCPINTERFACE
The interface name ("eth0") for IPv6 connections using link-local
addresses.
.SH "SEE ALSO"
tcpclient(1),
tcpserver(1),
tcp-env(1),
tcp(4)