Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 02 · Networking · How a packet finds a house · about 17 min to read

Play it as a journeyTutor comes with a plan

TCP vs UDP, and the 3-way handshake

Postcards and Phone Calls
Postcards and Phone Calls · Open board

The same thing, byte by byte (optional): TCP Handshake: the same picture zoomed into real bytes, off one actual connection this laptop made to a real website.

Before you start. You need to know that every device on a network has an address, and that a message crossing the internet travels broken into chunks rather than as one stream. Nothing else is assumed: what those chunks look like, and what promises come with them, is this whole lesson.

Lesson 5 of 44 in Networking

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • Christmas Day, 1994: a machine believed a caller it never heard
  • A packet is a postcard, and anyone can write the return address
  • The postcard: UDP, and no promises at all
  • The phone call: TCP, and the handshake that makes it honest
  • The handshake, timed without a packet capture
  • What one round trip actually costs
  • Where 1388 actually comes from
  • Do the capture, or skip root entirely

Terms it explains: packet, port, UDP, TCP, handshake, 64032, 39.5 ms, RTT, MSS, 1388, is, 1400.

Lab

The post loses one page in ten. What should you send again, and how much does the answer cost?

Drag Pages the post loses to 20%, then drag Pages allowed in the post at once and watch pages delivered per round trip.

Open The lost page

Related paper

Review Networking