Technical data

SHOW DEVICE_SOCKET
/LOCAL
/NOLOCAL
Optional. Default: /LOCAL.
Displays information for device sockets bound to hosts in the local hosts database.
/NOLOCAL: Displays information for device sockets bound to hosts in the hosts
database and hosts known by the BIND resolver.
/PORT=n
Optional. Default: All local ports.
Displays information for device sockets bound to the specified local port.
/SERVICE=service
Optional. Default: All services.
Displays information for device sockets used for the specified service.
/TYPE=socket_type
Optional. Default: /TYPE=ALL.
Displays information for the specified type of device socket. Specify one of the
following:
STREAM
DGRAM
Examples
1.
TCPIP> SHOW DEVICE_SOCKET BG21 /FULL
Device_socket: BG21 Type: STREAM
LOCAL REMOTE
Port: 21 0
Host: * *
Service: FTP
RECEIVE SEND
Queued I/O 0 0
Q0LEN 0 Socket buffer bytes 0 0
QLEN 0 Socket buffer quota 61440 61440
QLIMIT 1024 Total buffer alloc 0 0
TIMEO 0 Total buffer limit 491520 491520
ERROR 0 Buffer or I/O waits 1 0
OOBMARK 0 Buffer or I/O drops 0 0
I/O completed 0 0
Bytes transferred 0 0
Options: ACCEPT REUSEADR
State: PRIV
RCV Buff: WAIT
SND Buff: None
Displays complete information about device socket BG21, including the
options that are set, for example, the FULL_DUPLEX_CLOSE option.
(With the FULL_DUPLEX_CLOSE option set, the first data transmission on
a TCP connection that has been closed by the remote application returns an
EPIPE error. Subsequent
send
operations on the half-closed socket proceed
normally.)
2–160 Command Descriptions