TCP three-way handshake

The three-message exchange, SYN, SYN-ACK and ACK, that a client and server use to open a TCP connection before sending data.

In more detail

The client says it wants to connect, the server agrees, and the client confirms. The exchange takes one full trip to the server and back, so on a distant or slow network it adds noticeable delay before the first byte. Keeping connections open and using preconnect hide this cost.

Related terms

Taught in

References