TCP Connection States
A TCP connection exists in one of the states listed in Table 11-1.
Table 11-1. TCP Connection States
State | Description |
|---|---|
CLOSED | No TCP connection exists. |
LISTEN | An Application Layer protocol has issued a passive open and is willing to accept TCP connection attempts. |
SYN SENT | An Application Layer protocol has issued an active open and a SYN segment is sent. |
SYN RCVD | A SYN segment is received and a SYN-ACK is sent. |
ESTABLISHED | The final ACK for the TCP connection establishment process is sent and received. Data can now be transferred in both directions. |
FIN WAIT-1 | The initial FIN-ACK segment to close one side of the connection is sent. |
FIN WAIT-2 | The ACK in response to the initial FIN-ACK is received. |
CLOSING | A FIN-ACK is received but the ACK is ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access