handshake

The opening exchange of messages in which two programs agree how they will communicate before real data flows.

In more detail

TCP, TLS and WebSocket each have one, and each adds a little latency before the first useful byte. Reusing connections, as keep-alive does, avoids repeating the handshake for every request.

Related terms

Taught in

References