Changes to User Datagram Protocol

TechWritereditor · 5 Dec 2026, 00:34 · “Replace dead University of Aberdeen source with IBM documentation; remove claims it does not support”

+ added − removed compared with the version of 5 Dec 2026, 00:33

Article

… 4 unchanged lines …
UDP adds very little to the underlying Internet Protocol. Each datagram carries an eight-byte header with four fields: a source port, a destination port, a length and a checksum.[^1][^2] The ports identify which program on each computer the message belongs to, and the source port is optional.[^1] The checksum lets the receiver detect damaged data; it is calculated over the header, the data and a "pseudo header" containing the source and destination [[IP address]], which helps catch misdelivered datagrams.[^1] Within IP, UDP is identified by protocol number 17.[^1]
 
Removed: Unlike TCP, UDP does not set up a connection before sending, and it makes no promise that a datagram will arrive, arrive only once, or arrive in order.[^1][^2] Lost packets are not resent, and invalid datagrams are simply thrown away.[^2] Applications that need a reliable, ordered stream of data are expected to use TCP instead.[^1]
Added: Unlike TCP, UDP does not set up a connection before sending, and it makes no promise that a datagram will arrive, arrive only once, or arrive in order.[^1][^2] Applications that need a reliable, ordered stream of data are expected to use TCP instead.[^1]
 
## Uses
 
Removed: This "best-effort" approach avoids the delay and bookkeeping of setting up and closing connections, which suits short exchanges and real-time traffic.[^2] UDP is also used for multicast and broadcast, and for tunnelling other protocols.[^2] Protocols such as the [[Domain Name System]], the [[Session Initiation Protocol]] and RTP for real-time media run over UDP.[^3] Because UDP has no congestion control of its own, IETF guidance says applications built on it must take care not to overload the network.[^3]
Added: Protocols such as the [[Domain Name System]], the [[Session Initiation Protocol]] and RTP for real-time media run over UDP.[^3] Because UDP has no congestion control of its own, IETF guidance says applications built on it must take care not to overload the network.[^3]
 
UDP has gained new importance as a foundation for other transports. QUIC, a secure general-purpose transport protocol standardised by the [[Internet Engineering Task Force]] in 2021, carries its packets inside UDP datagrams so that it can pass through existing networks and systems.[^4]
… 6 unchanged lines …

Sources

RFC 768: User Datagram Protocol | https://www.rfc-editor.org/rfc/rfc768 | RFC Editor | 1980-08-28
Removed: The User Datagram Protocol (UDP) | https://erg.abdn.ac.uk/users/gorry/course/inet-pages/udp.html | University of Aberdeen
Added: User Datagram Protocol | https://www.ibm.com/docs/ssw_aix_71/network/protocols_userdatagram.html | IBM
RFC 8085: UDP Usage Guidelines | https://www.rfc-editor.org/rfc/rfc8085.html | Internet Engineering Task Force | 2017-03
RFC 9000: QUIC: A UDP-Based Multiplexed and Secure Transport | https://www.rfc-editor.org/rfc/rfc9000.html | Internet Engineering Task Force | 2021-05