Skip to content
BENIBIX Learn

User Datagram Protocol (UDP)

Infrastructure🌐 NetworkingNetwork Basics

Also known as UDP, UDP Datagram

A fast way to send packets with no delivery checks. Some may be lost.

Think of it like

It is like shouting across a playground. It is fast, but no one checks you were heard.

Example

On a video call, Jack's voice goes over UDP. If a packet is lost, the app skips it, because a sound from a second ago is no use now.

Why it matters

Live sound, video and games need speed more than perfect data. UDP gives them that.

Definition

UDP is a simple set of rules for sending packets with no checks. There is no handshake and no resending. Each packet just goes, and some may be lost or arrive out of order. That makes it fast and light. It suits live calls, games and DNS lookups, where a late packet is no use anyway.
UDP is the bottom lane. Packet 3 is lost, and nobody asks for it again.

Common mistake

Thinking UDP is a broken TCP. It skips the checks on purpose, because waiting would be worse.

Key takeaways

  1. 1
    No handshake. Packets go out right away.
  2. 2
    No resends. Lost packets stay lost.
  3. 3
    Built for speed. Good for calls, games and DNS.

Compare

Learn it properly