TCP/IP Management Programming Manual
Commands and Responses
HP NonStop TCP/IP Management Programming Manual—529636-001
6-48
LISTOPENS Command
ZPRIM-FNUM
is an integer that specifies the primary file number assigned to the opener
when the OPEN procedure was called. Note that the file number is equivalent
to the socket number.
ZPROTO
is an integer that specifies which protocol module has been opened. The
possible values are:
ZPROCNAME
is a null-terminated string that specifies the system name of the opener.
ZLPORT
is the local port number.
ZLOC-ADDR
is the local Internet address.
ZLOC-FPORT
is the foreign port number.
ZFORGN-ADDR
is the foreign Internet address.
ZSTATE
is the state of the connection. This is related only to TCP.
ZSEND
is the number of bytes of data currently in the send queue for a socket.
ZRECV
is the number of bytes of data currently in the receive queue for a socket.
ZCOM-TKN-OBJNAME
specifies the name of the TCP/IP process specified in the command. Unless there
is an error that prevents the LISTOPENS command from being attempted at all,
0 indicates the #ZSPI module has been opened.
6 indicates the TCP protocol module has been opened.
1
7
indicates the UDP protocol module has been opened.