PrepCity

TCP three-way handshake

Open the lab

By the last page, this is the design you will have built.

Lesson · 5 pages · about 3 min

TCP three-way handshake

Two peers exchange SYN, SYN-ACK and ACK so each knows the other’s starting sequence number before any data flows.

Words you’ll learn

  • Client
  • Server
  • Handshake
  • Request
  • Timeout

Page by page