User Datagram Protocol
Subject: Computer and Technology noun /ˈjuː.zər ˈdeɪ.tə.ɡræm ˈproʊ.tə.kɑːl/ 1 definition
- computer-networking
- transport-layer
- network-protocols
- internet-architecture
-
Definition (noun)
Entry #13 · UpdatedThe User Datagram Protocol (UDP) is a core, connectionless transport-layer protocol in the Internet protocol suite that transmits self-contained messages called datagrams across IP networks with minimal header overhead. Unlike connection-oriented protocols such as TCP, UDP omits session handshakes, packet sequencing, acknowledgments, retransmissions, and congestion control, providing only port-based multiplexing and a lightweight checksum for basic error detection. By trading guaranteed, ordered delivery for speed and low latency, UDP serves as the foundational transport for real-time media, name resolution, and specialized protocols that manage reliability at higher layers.
Common Forms
Unicast UDP: Transmits datagrams from one sender socket to a single destination IP address and port, commonly powering stateless request-response exchanges such as Domain Name System (DNS) lookups and Network Time Protocol (NTP) synchronization.
Broadcast UDP: Delivers datagrams to a subnet broadcast address so every host listening on the target port receives the packet simultaneously, enabling Dynamic Host Configuration Protocol (DHCP) initialization and local service discovery.
Multicast UDP: Routes datagrams to a subscribed multicast group address so network switches and routers replicate packets only for interested receivers, supporting live video distribution, telemetry, and financial market data feeds.
UDP-Encapsulated Protocols: Layers custom encryption, congestion control, or reliability semantics atop standard UDP packets—such as QUIC, Datagram Transport Layer Security (DTLS), and WireGuard—to avoid middlebox interference while traversing NATs and firewalls.
Example
During a WebRTC video call, a conferencing client transmits 20-millisecond audio frames inside UDP datagrams rather than TCP segments so a lost packet over Wi-Fi does not trigger head-of-line blocking. Instead of stalling the entire call to wait for a retransmission, the receiver discards or interpolates over the missing frame and plays subsequent audio immediately to preserve real-time conversation.