โ CS Visual Lab ยท Computer Networks
๐ค TCP three-way handshake
๐ก The ideaTCP opens a reliable connection with SYN, SYN-ACK, ACK, so both sides agree on starting sequence numbers. It closes with FIN and ACK from each side.
๐ In real lifeA phone call: "Can you hear me?" (SYN) โ "Yes, can you hear me?" (SYN-ACK) โ "Yes!" (ACK). Then you talk.
๐ฌ Watch it work
Step 1 of 5
1. SYN
Clientโ SYN seq=100 โServer
The client sends SYN with its starting sequence number, say seq = 100.