2.2.1.1.11 MIB_TCP_STATE

The MIB_TCP_STATE enumeration enumerates different possible TCP states.

 typedef enum 
 {
   MIB_TCP_STATE_CLOSED = 1,
   MIB_TCP_STATE_LISTEN = 2,
   MIB_TCP_STATE_SYN_SENT = 3,
   MIB_TCP_STATE_SYN_RCVD = 4,
   MIB_TCP_STATE_ESTAB = 5,
   MIB_TCP_STATE_FIN_WAIT1 = 6,
   MIB_TCP_STATE_FIN_WAIT2 = 7,
   MIB_TCP_STATE_CLOSE_WAIT = 8,
   MIB_TCP_STATE_CLOSING = 9,
   MIB_TCP_STATE_LAST_ACK = 10,
   MIB_TCP_STATE_TIME_WAIT = 11,
   MIB_TCP_STATE_DELETE_TCB = 12,
 } MIB_TCP_STATE;

MIB_TCP_STATE_CLOSED: The TCP connection is closed.

MIB_TCP_STATE_LISTEN: The TCP connection is in the listen state.

MIB_TCP_STATE_SYN_SENT: A SYN packet has been sent.

MIB_TCP_STATE_SYN_RCVD: A SYN packet has been received.

MIB_TCP_STATE_ESTAB: The TCP connection has been established.

MIB_TCP_STATE_FIN_WAIT1: The TCP connection is waiting for a FIN packet.

MIB_TCP_STATE_FIN_WAIT2: The TCP connection is waiting for a FIN packet.

MIB_TCP_STATE_CLOSE_WAIT: The TCP connection is in the close wait state.

MIB_TCP_STATE_CLOSING: The TCP connection is closing.

MIB_TCP_STATE_LAST_ACK: The TCP connection is in the last ACK state.

MIB_TCP_STATE_TIME_WAIT: The TCP connection is in the time wait state.

MIB_TCP_STATE_DELETE_TCB: The TCP connection is in the delete TCB state.