TCP three-way handshake

The three messages that open a TCP connection: the client sends SYN, the server replies SYN-ACK, and the client answers ACK.

In more detail

The exchange agrees starting sequence numbers in both directions, after which both sides are established and can send data. If the first SYN gets no reply the problem is below the application: routing, filtering or no listener. A packet capture shows exactly which step is missing.

Example

one=SYN two=SYN-ACK three=ACK result=established lists the handshake in order.

Related terms

Taught in

References