NETLEARN
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
Applicationvideo / game
Serverport 53 / media
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.