Index

Module 05 · NetworkingBuild it yourself

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.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

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 →

Saved in this browser, and to your account when you sign in.