Navigation

TCP & TLS Handshake

Before any data flows, the browser opens a TCP connection (a three-step handshake) and, for HTTPS, negotiates TLS encryption — extra round trips before the first byte arrives.

The padlock icon means a TLS handshake set up an encrypted channel.

BrowserServer
SYN→
←SYN-ACK
ACK 🔒→
Round trips before the first byte

Tap the example to replay it · press and hold to slow it down

One of 40 cards in javascript flashcards. Browse every card.