โ† 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.

โœ… Check yourself (2 of 3 to pass)

1. The second message of the handshake is:
2. If the client's SYN has seq = 100, the server's SYN-ACK has ack =
3. UDP uses a handshake before sending data.
Next: IP subnetting โ†’Get a free certificate in Computer Networks