Open the editor

Computer science · High school and university

TCP Three-Way Handshake Slides

Free animated slides, ready to teach: 6 slides where every step appears on a click and the diagrams move. Play them right here, present them full screen, or copy them into your account to edit.

A real Tracé deck playing in your browser. No account needed.

What the lesson covers

A sequence diagram plays SYN, SYN-ACK and ACK one message per click. The lesson explains what each message carries and why two messages would not be enough.

The slides, one by one

1 The TCP three-way handshake

How a connection starts

Why does TCP need three messages to connect?

2 SYN, SYN-ACK, ACK

3 Each side proves it heard the other

  • SYN: client's starting number
  • SYN-ACK: server's number, client's confirmed
  • ACK: server's number confirmed

4 Why not two messages?

Two messages

  • Server never knows its SYN arrived
  • Old delayed SYNs open ghost connections

Three messages

  • Both directions confirmed
  • Both sequence numbers agreed

Three is the minimum for a reliable two-way start

5 Quick check

The client sends SYN with seq = 100. The SYN-ACK carries ack = …

  • 100
  • 101
  • 0
  • 200
Show the answer

101

The server acknowledges the next number it expects: x + 1 = 101.

6 What to remember

SYN → SYN-ACK → ACK

Each side picks a sequence number

ack = the next number expected

Then data can flow both ways

Challenge: How does TCP close a connection?

Every slide is built click by click: text, formulas and pictures come in one step at a time, so the class follows the reasoning instead of reading ahead. Graphs with sliders can be dragged live while you present.

Make your own version with AIChange the level, the numbers or the language: type the topic and get a new deck that moves in about 30 seconds. Free, no account needed.

Questions teachers ask

Are sequence numbers shown?

Yes: the client picks x, the server answers with y and acknowledges x + 1, and the client acknowledges y + 1.

Are these slides really free?

Yes. Watch them on this page or present them full screen with no account. Making your own copy to edit is free too.

Can I change the slides before my lesson?

Yes. Press "Make my own copy" and the deck becomes one of your projects in the Tracé editor, where you can change the text, the numbers, the colours or the order of the clicks.

Do they work on a classroom projector or an interactive whiteboard?

Yes. They run in the browser on any laptop, so anything that shows your screen works. Press the right arrow or click to go to the next step.