Skip to content
Commitwise
Menu

TCP handshake

The three messages (SYN, SYN-ACK, ACK) that open a TCP connection, costing one round trip.

Definition

The client sends SYN, the server answers SYN-ACK, the client replies ACK; both sides agree on starting sequence numbers. Only then can data flow. TLS adds its own handshake on top, which is why reusing connections saves several round trips per request.

In practice

On a 100 ms mobile link, the handshake alone delays the first request byte by 100 ms.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.