Lesson 01Transport
UDP: Sending Without a Promise
TCP promises everything arrives intact and in order. UDP promises almost nothing, and sometimes that is exactly what you need. For voice, video, and games, speed beats perfection.
- Layer
- Layer 4 · Transport
- Reference
- RFC 768
- Steps
- 5
NETLEARN · your study buddy
Net · guide
Hi! I’m Net, your guide today. We’ll look at UDP: Sending Without a Promise in the UDP: The Fast One That Promises Nothing module.
how it works
tap Net · advance one step⟲ button · start overEnter · open the full explanation
legendrequestresponsecautionmessage in flight
Common misunderstandings
- UDP is not a "broken TCP". It is a deliberate choice for cases where waiting costs more than losing a single packet.
Key notes
- 8-byte header
- Only source, destination, length, and checksum, compared with 20+ bytes for TCP.
- Stateless
- There is no connection or buffer the server has to keep.
- QUIC
- HTTP/3 builds its own reliability on top of UDP, fast without losing order.
- Common users
- DNS, DHCP, VoIP, streaming, and games almost always use UDP.
