Blockchain & Cryptocurrency Glossary

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • search-icon Clear Definitions
  • search-icon Practical
  • search-icon Technical
  • search-icon Related Terms

User Datagram Protocol

1 min read
Pronunciation
[yoo-zer dat-uh-gram proh-tuh-kawl]
Analogy
UDP is like sending postcards through the mail—you write the message and address and send it off without acknowledgment; some may arrive out of order or not at all.
Definition
A core Internet transport layer protocol that provides minimal‑overhead, connectionless delivery of datagrams without guaranteed delivery or ordering.
Key Points Intro
UDP is characterized by:
Key Points

Connectionless: No handshake before data transmission.

Unreliable: No built‑in retransmission or ordering guarantees.

Low latency: Minimal protocol overhead.

Application‑managed reliability: Apps handle loss, ordering, and congestion control.

Example
Blockchain light clients use UDP-based discovery (discv4) to rapidly find peers without the overhead of TCP handshakes.
Technical Deep Dive
UDP uses a simple header with source/destination ports, length, and checksum. The protocol does not maintain connection state. Applications must handle fragmentation, loss detection, and reassembly if needed. Commonly used for DNS, VoIP, and real‑time services.
Security Warning
UDP flood attacks (e.g., amplification) can overwhelm hosts; network filters and rate limiting are essential.
Caveat
Lack of reliability requires additional logic at the application layer for error handling.

User Datagram Protocol - Related Articles

No related articles for this term.