The CONNECTIONS class contains information about the connection established over a virtual circuit. This class includes fields such as the names and ID numbers of the local and remote processes, and the state of the connection.
1 – CON_STATE
The state of the connection. Possible displays are: ACCP_SENT Accept request has been sent. CLOSED Connection is closed. CON_ACK Connect request has been sent and acknowledged. CON_REC Connect request has been received. CON_SENT Connect request has been sent. DISC_ACK Disconnect request is acknowledged. DISC_MTCH Disconnect request is matched. DISC_REC Disconnect request has been received. DISC_SENT Disconnect request has been sent. LISTEN Connection is in the listen state. OPEN Connection is open. REJ_SENT Reject has been sent. VC_FAIL Virtual circuit has failed.
2 – LOC_CONID
Identification number of the local side of the connection.
3 – LOC_PROC_NAMR
Name of the local process associated with the connection.
4 – REM_CONID
Identification number of the remote side of the connection. This information does not apply for connections in the listen state.
5 – REM_PROC_NAME
Name of the remote process associated with the connection. This information does not apply for connections in the listen state.
6 – SCS_STATE
SCS send blocked state. If the connection is waiting to send an SCS control block message, the SCS send blocked state indicates what kind of message it is waiting to send. Possible displays are: ACCP_PEND Waiting to send an accept request. CLEAR Not blocked. CON_PEND Waiting to send a connection request. CR_PEND Waiting to send credit. DCR_PEND Waiting to send credit in preparation for a disconnect. DISC_PEND Waiting to send a disconnect request. REJ_PEND Waiting to send a reject request.