UDP Datagrams & Checksums
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
UDP gives applications a minimal datagram service with no connection setup and no recovery. That makes it fast for short transactions, but every lost or reordered datagram stays lost.
On the wire
An 8-byte UDP header holds source port, destination port, length, and a checksum over the header, payload, and a pseudo-header taken from the IP layer. The checksum is optional in IPv4 but mandatory in IPv6, and there is no sequence number or acknowledgment field.
When it breaks
A corrupted datagram whose checksum fails is silently dropped, so the application sees no error and must supply its own retry logic. Because UDP has no congestion control, a flood of datagrams can overflow a router queue and harm TCP flows sharing the path.
Header inspector
Click a field to read what it controls, then change the values that a router or receiver would see.