GlossaryProtocolsIntermediate

UDP

UDP (User Datagram Protocol) is a fast, connectionless way to send data over the internet without guaranteeing delivery or order. It trades reliability for low latency, making it ideal for streaming and real-time apps.

Last updated June 8, 2026

Definition

UDP (User Datagram Protocol) is a lightweight transport protocol that sends data as independent packets called datagrams, without establishing a connection or confirming delivery. Unlike TCP, it has no handshake, no acknowledgements, and no retransmission - it simply fires packets and moves on.

How it works

An application hands data to UDP, which wraps it in a small header containing source and destination ports, then passes it to IP for routing. There is no guarantee packets arrive, arrive in order, or arrive only once. This minimal overhead makes UDP extremely fast.

Why it matters for privacy and proxies

  • WireGuard and modern VPNs run over UDP for speed and low latency.
  • WebRTC uses UDP, which is why WebRTC leaks can expose a real IP even behind a proxy.
  • SOCKS5 supports UDP association, while most HTTP proxies do not, affecting which apps you can tunnel.

Because UDP underpins streaming, gaming, DNS, and VoIP, understanding it helps you choose the right proxy or VPN protocol and avoid leaks that bypass connection-based tunnels.

Examples

1

A WireGuard VPN tunnel carrying encrypted traffic over UDP for low latency

2

A DNS query sent as a single UDP datagram to a resolver

3

Live video streaming and online gaming using UDP to minimize delay

Common Use Cases

Choosing a VPN protocol like WireGuard that relies on UDP for performance
Tunneling real-time applications such as VoIP or gaming through a SOCKS5 proxy
Understanding why WebRTC can leak your IP because it uses UDP
Diagnosing why HTTP proxies cannot carry UDP-based traffic

Frequently Asked Questions

TCP guarantees ordered, error-checked, reliable delivery through a connection, while UDP is connectionless and sends packets without confirming they arrive - making UDP faster but less reliable.
UDP has minimal overhead and no handshake delays, so it delivers lower latency and higher throughput, which is ideal for VPN tunnels carrying real-time traffic.
Yes. WebRTC uses UDP and can bypass HTTP proxies that only handle TCP, exposing your real IP unless you block WebRTC or use a tunnel that covers UDP.
What Is UDP? The Fast Connectionless Transport Protocol | ProxyHorizon | ProxyHorizon