Macros | |
#define | TCP_STATE_CLOSED (0) |
Socket Closed. | |
#define | TCP_STATE_LISTEN (1) |
Listen Socket. | |
#define | TCP_STATE_SYN_SENT (2) |
Packet with synchronization flag sent. | |
#define | TCP_STATE_SYN_RCVD (3) |
Packet with synchronisation flag received. | |
#define | TCP_STATE_WAIT_FOR_ACCEPT (4) |
Socket waiting for accept. | |
#define | TCP_STATE_ESTABLISHED (5) |
TCP session established. | |
#define | TCP_STATE_CLOSE_WAIT (6) |
FIN received from client and socet is in the process of closing. | |
#define | TCP_STATE_LAST_ACK (7) |
Server is in the process of sending its own FIN signal. | |
#define | TCP_STATE_FIN_WAIT_1 (8) |
Connection is active but not currently being used. | |
#define | TCP_STATE_FIN_WAIT_2 (9) |
Client has received first ACK of the first FIN signal from server. | |
#define | TCP_STATE_CLOSING (10) |
Session is closing, but data may still be processed. | |
#define | TCP_STATE_TIME_WAIT (11) |
Client recognizes connection still open, but not currently being used. | |
The current state of a TCP socket.