"TCP L[isteners]" displays the IP addresses and TCP port
numbers for the listener (server) sockets. An IP address
of 0.0.0.0 indicates that the socket is listening on all
XRPi's IP addresses.
"TCP R[eset] <sock#> is used to reset (close) the connection(s)
whose socket number(s) are specified by <sock#>. This would
typically be used to close malicious or "stuck" connections.
The socket number(s) may be obtained by the STATUS subcommand.
"TCP S[tatus]" displays the status of all the current TCP
connections.
The display shows the socket number, the remote and local
addresses, the state, and the amount of queued data in bytes.
The states are as follows (see RFC793):
0 Closed 6 FINWAIT2
1 Listen 7 Close wait
2 SYN sent 8 Closing
3 SYN Received 9 Last ACK
4 Established 10 Time Wait
5 FINWAIT1