UDP

User Datagram ProtocolTransport layer · OSI 4

Fast, connectionless datagrams without handshakes or retries

Step 1 of 5: Send with zero setup. A voice app sends your first 20 ms of audio right away . Unlike TCP, there is no handshake before the first datagram leaves.
0.0 s / 13.0 s
Your laptop192.168.1.10
DataResponse

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