UDP
User Datagram ProtocolTransport layer · OSI 4Fast, connectionless datagrams without handshakes or retries
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
Overview
sends short, independent messages called without opening a connection or waiting for receipts. Live calls and games prefer it because old data is useless once it arrives late.
User Datagram Protocol (RFC 768) wraps application payloads behind an 8-byte header containing source port, destination port, length, and checksum. It adds no handshakes, sequence tracking, or retransmissions, leaving ordering and loss handling to protocols like (RFC 3550).
Key facts
- Layer
- Transport (OSI Layer 4)
- Connection
- None (connectionless)
- Header size
- 8 bytes fixed
- Reliability
- Best effort, no ACKs or resends
- Defined in
- RFC 768
Call kept moving
Audio started on the very first packet with no handshake, and a dropped packet never stalled the stream. The app smoothed over the gap and kept the call live.
Eleven UDP datagrams (8-byte transport header each) carried bidirectional 20 ms voice frames without connection state or retransmissions.
- Header
- 8 bytes (vs 20+ TCP)
- Handshake
- 0 round trips
- Loss handling
- Left to application
- Frame size
- 134 B on wire
Try it yourself
List listening UDP ports
See which local programs are listening on UDP sockets (such as DNS, DHCP, or media apps).
netstat -ano