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 05 · Networking · Build it yourself · with code: Python · about 13 min to read

Play it as a journeyTutor comes with a plan

Build it: only the lost page (selective repeat, loss and reordering)

Postcards and Phone Calls
Postcards and Phone Calls · Open board

The postcard and the phone call again. The last lesson built a call that survives lost postcards. This one builds the version that does not waste the road when it happens, and measures the difference.

Before you start. You need Build it: the page that gets through (stop-and-wait, then a window): the same test road, the same five-byte packets, and the stop-and-wait and go-back-N senders that this lesson races against. Its idea is The page that never arrived (TCP reliable delivery): when one page in a window is lost, go-back-N resends it and everything after it, and selective repeat resends only the lost one. Python 3 is all the machine needs.

Lesson 41 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

  • What a cumulative ack cannot say
  • The receiver: keep what arrives early
  • The sender: a clock on every page
  • The race
  • A late page looks lost
  • What TCP does instead
  • Arithmetic for the “minimum” claim

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