---
title: "Reliable Delivery over an Unreliable Network"
description: "The network below may drop, duplicate, delay and reorder. A reliable transport rebuilds order and completeness on top of it using sequence numbers, acknowledgements, timeouts and retransmission, and a"
canonical: https://lightmysky.com/learn/computing/reliable-delivery-over-an-unreliable-network-mt_kCM411CSac
source: https://lightmysky.com/learn/computing/reliable-delivery-over-an-unreliable-network-mt_kCM411CSac.md
retrieved: 2026-09-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Reliable Delivery over an Unreliable Network

The network below may drop, duplicate, delay and reorder. A reliable transport rebuilds order and completeness on top of it using sequence numbers, acknowledgements, timeouts and retransmission, and a window so the sender need not wait for each reply.

Subject: Computing · Area: Networks & Security · Ages 18 to 19
Page: https://lightmysky.com/learn/computing/reliable-delivery-over-an-unreliable-network-mt_kCM411CSac

## Ready when they can

- Trace a transfer where one segment is lost and say what triggers the resend
- Explain what the sequence number does when segments arrive out of order
- Say why a window raises throughput on a link with long delay

## Lesson: Making packets behave

The Internet Protocol chops a big message into smaller packets, and each packet hops from router to router toward its destination. The trip is messy, and you should expect four kinds of mess. Packets can arrive out of order, which happens a lot when two packets take different routes and one path proves faster. Packets can get lost, since a busy router may drop one it cannot keep up with, or a weak wifi signal can garble one past repair. Packets can even arrive twice, when a packet that looks lost shows up late after its replacement was already sent. And your computer may send several messages at once, so the receiver needs a way to tell which packets belong to which message. None of this means the network is broken. It means something extra must rebuild order and completeness on top of IP.

**Example.** Watch TCP fix a jumbled delivery. Suppose three segments of your message arrive in the order 3, 1, 2. Every byte carries a sequence number, so the receiver can see exactly where each piece belongs. It slots them back into 1, 2, 3 and only then hands the whole message upward. The numbers turn a shuffled arrival into the original message, no matter which route each piece took.

Numbers alone are half the trick. The receiver also sends back short notes called acknowledgements that name the bytes now safely arrived. The sender runs a timer on each batch: if the note fails to arrive before the timer runs out, the sender assumes that piece was lost and sends it again. To avoid freezing after every single packet, the sender uses a window instead: it pushes a whole batch of packets into the network at once and keeps going while the replies travel back. On a link with a long delay that batching keeps data flowing instead of idling, which is why a window raises throughput there. This pairing is so common that the whole stack is often called TCP/IP.

**Tip.** UDP is the lighter cousin, and it makes the opposite trade. It can spot corrupted data, but it never resends a lost packet, never reorders late arrivals, and never deletes duplicates. With no notes to wait for and no resends to manage, it moves very little extra data and stays fast. That suits live video calls and online games: a resent packet would arrive too late to matter, so skipping one small gap beats pausing the whole stream. Ask what the app values most. If every byte must arrive complete and in order, the answer is TCP. If speed matters more than perfection, UDP fits.

**Recap.** Sequence numbers restore order, acknowledgements plus timers trigger resends, and a window keeps the pipe full.

## Practice

8 questions on this page, each with its working shown.

## Needs first

- [Layering and Encapsulation in the Protocol Stack](https://lightmysky.com/learn/computing/layering-and-encapsulation-in-the-protocol-stack-mt_D33SEBslXH)
- [Packets and Protocols on a Network](https://lightmysky.com/learn/computing/packets-and-protocols-on-a-network-mt_IffXVDtfLX)

## Opens up

- [Congestion Control and Sharing a Link](https://lightmysky.com/learn/computing/congestion-control-and-sharing-a-link-mt_y5hPUrdKyq)
