Tuesday, January 21, 2014

TCP connection states

TCP Connection States
STATE EXPLANATION
SYN_SEND Indicates active open
SYN_RECEIVED Server just received SYN from the client
ESTABLISHED Client received server's SYN and session is established
LISTEN Server is ready to accept connection
FIN_WAIT_1 Indicates active close
FIN_WAIT_2 Client just received acknowledgment of its first FIN from the server
TIMED_WAIT Enters this state after active close
CLOSE_WAIT Indicates passive close. Server just received first FIN from a client
LAST_ACK Server is in this state when it sends its own FIN
CLOSED Server received ACK from client and connection is closed

No comments:

Post a Comment