TCPIP_TCP_STATE Enumeration

C

typedef enum {
TCPIP_TCP_STATE_LISTEN,
TCPIP_TCP_STATE_SYN_SENT,
TCPIP_TCP_STATE_SYN_RECEIVED,
TCPIP_TCP_STATE_ESTABLISHED,
TCPIP_TCP_STATE_FIN_WAIT_1,
TCPIP_TCP_STATE_FIN_WAIT_2,
TCPIP_TCP_STATE_CLOSING,
TCPIP_TCP_STATE_TIME_WAIT,
TCPIP_TCP_STATE_CLOSE_WAIT,
TCPIP_TCP_STATE_LAST_ACK,
TCPIP_TCP_STATE_CLIENT_WAIT_DISCONNECT,
TCPIP_TCP_STATE_CLIENT_WAIT_CONNECT,
TCPIP_TCP_STATE_KILLED
} TCPIP_TCP_STATE;

Description

Enumeration: TCPIP_TCP_STATE.

Enumeration describing the possible states of a TCP socket.

Members

MembersDescription
TCPIP_TCP_STATE_LISTENSocket is listening for connections.
TCPIP_TCP_STATE_SYN_SENTA SYN has been sent, awaiting an SYN+ACK.
TCPIP_TCP_STATE_SYN_RECEIVEDA SYN has been received, awaiting an ACK.
TCPIP_TCP_STATE_ESTABLISHEDSocket is connected and connection is established.
TCPIP_TCP_STATE_FIN_WAIT_1FIN WAIT state 1.
TCPIP_TCP_STATE_FIN_WAIT_2FIN WAIT state 2.
TCPIP_TCP_STATE_CLOSINGSocket is closing.
TCPIP_TCP_STATE_TIME_WAIT2MSL state.
TCPIP_TCP_STATE_CLOSE_WAITWaiting to close the socket.
TCPIP_TCP_STATE_LAST_ACKThe final ACK has been sent.
TCPIP_TCP_STATE_CLIENT_WAIT_DISCONNECTClient socket lost connection, waiting for app close/disconnect.
TCPIP_TCP_STATE_CLIENT_WAIT_CONNECTClient socket waiting for connection.
TCPIP_TCP_STATE_KILLEDSocket is killed; debug reporting state.