Protocols
Saved & recent

UDP

Also called: User Datagram Protocol, datagram transport

User Datagram Protocol sends separate messages, called datagrams, between application endpoints identified by ports. It adds relatively little machinery above IP. UDP itself does not guarantee delivery, ordering, duplicate suppression, retransmission, or congestion control, and it does not establish a TCP-style connection.

An application sending numbered sensor readings may receive readings 12 and 14 while 13 is lost. It must decide whether to request the missing reading or continue with newer information. Protocols built on UDP can add reliability and security, as QUIC does; choosing UDP therefore does not determine all the properties of the complete application protocol.

Read first
Internet Protocol
Related
TCP, QUIC, Congestion control
Further reading
sender receiver 12 12 13 14 14 lost applicationdecision retry continue
Hypothetical sensor exchange: UDP preserves messages but does not fill the gap when datagram 13 is lost.

View in the full Protocols collection