Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ethernet, IP, UDP, TCP, and Multicast

Status Draft outlineSection Networking and I/O

Each network layer adds addressing, framing, delivery semantics, and failure modes. Applications must know which guarantees exist and which they must supply.

Planned model

Encapsulate an application message through Ethernet, IP, and transport headers, then inject loss, reordering, duplication, fragmentation, and retransmission.

Questions

  • Which layer detects corruption, loss, or ordering problems?
  • When is UDP or multicast preferable to a reliable byte stream?
  • Why can TCP preserve bytes while obscuring message boundaries?

Exercise

Specify the framing and recovery responsibilities of an application protocol over both TCP and UDP.