======						    DISview [848]
socket
======

_________________________________________________________________
socket [<socket_ref_number>] [<l>]
_________________________________________________________________
Without an argument, the 'socket' command displays all active
local sockets, giving their type, the address of the associated
protocol control block (PCB), remote socket if connected, and the
owner's process ID and name.

>> Example of 'socket' display output:
.................................................................
S#  Type   PCB      Remote socket   Owner
128 Loc St 734f0008                 73540008 sl0 dialer
129 Loc St 734d0010                 73540008 sl0 dialer
130 TCP    7c0a0010                 7a900008 TTYlink listener
131 TCP    7c180010                 7aba0008 Echo listener
132 TCP    7c270008                 7ae40008 Discard listener
133 TCP    7c350008                 7b0e0008 Finger listener
134 Loc St 76930008                 76960010 ftp
135 Loc St 76910010                 76960010 ftp
136 TCP    7b690010 158.152.1.44:21 76960010 ftp
137 Loc St 76840008                 76c90010 telnet
138 Loc St 76a00008                 76c90010 telnet
139 TCP    842a0008 132.239.1.1:23  76c90010 telnet
.................................................................

With the l argument a brief list is displayed of owner's names.
>> Example of 'socket l' display output:
.................................................................
S#  Name
128 sl0 dialer
129 sl0 dialer
130 TTYlink listener
131 Echo listener
132 Discard listener
133 Finger listener
134 browse
135 browse
.................................................................

To get more detailed information about the status of a particular
socket, you can include the socket reference number <S#> in the
socket command.

>> Example of 'socket 136' output:
.................................................................
TCP 7b690010 ascii eol seq: 0d 0a
Local:158.152.123.251:1026 Remote:158.152.1.44:21 State: Established
     Init seq    Unack     Next Resent CWind Thrsh  Wind  MSS Queue Total
Send:15816000 15816071 15816071      0   576 65535  4096  536     0   112
Recv: 5db0600           5db0811     24             11680          0   528
Timer stopped SRTT 1257 ms Mean dev 1301 ms
.................................................................
