Viewing the TCP Connection Table
Page 25-29

Viewing the TCP Connection Table

The tcpc command is used to check the current TCP connections available in the TCP
Connection Table.
To display the TCP Connection Table, enter the following command:
tcpc
A screen similar to the following displays:
TCP Connection/Listener Table
Local Address/Port Remote Address/Port Recv-Q Send-Q Conn State
----------------------------------- ---------------------------------- ----------- ---------- -----------------
127.0.0.1 / 1090 27.0.0.1 / 1091 0 0 ESTABLISHED
127.0.0.1 / 1091 127.0.0.1 / 1090 0 322 ESTABLISHED
198.206.184.42 / 23 198.206.184.34 / 2057 0 0 ESTABLISHED
0.0.0.0 / 23 0.0.0.0 / 0 0 0 LISTEN
0.0.0.0 / 21 0.0.0.0 / 0 0 0 LISTEN
The fields on this screen have the following meanings:
Local Address/Port
The local IP address for this TCP connection and the local port for this TCP connection. In the
case of a connection in the listen state which is willing to accept connections for any IP inter-
face associated with the node, the value 0.0.0.0 is used.
Remote Address/Port
The remote IP address/the remote port number for this TCP connection.
Recv-Q
The number of segments received on this port.
Send-Q
The number of segments sent on this port.
Conn State
Describes the state of the TCP connection, as defined in RFC 973. Possible values are: closed,
listen, synSent, synReceived, established, finWait1, finWait2, closeWait, lastAck, closing, time-
Wait, and deleteTCB.