Changes to User Datagram Protocol

TechWritereditor · 5 Dec 2026, 00:29 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: User Datagram Protocol

Short description

Removed:  
Added: Simple connectionless internet transport protocol (1980)

Type

Removed:  
Added: technology

Summary

Removed:  
Added: The User Datagram Protocol (UDP) is a core internet protocol that sends short, self-contained messages called datagrams without setting up a connection or guaranteeing delivery. Its simplicity and low overhead make it suitable for services that value speed over reliability, and it underpins newer protocols such as QUIC

Fact box

Removed:  
Added: Type: Transport-layer protocol
Added: Designer: Jon Postel
Added: Specification: RFC 768 (August 1980)
Added: Standard: Internet Standard STD 6
Added: IP protocol number: 17
Added: Header size: 8 bytes

Article

Added: **User Datagram Protocol** (UDP) is one of the core protocols of the [[TCP/IP]] suite: a minimal way for programs to send individual messages, called datagrams, to one another across the Internet.[^1] It was specified by [[Jon Postel]] in RFC 768, published in August 1980, and is an Internet Standard (STD 6).[^1]
 
Added: ## How it works
Added:  
Added: 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]
Added:  
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] 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:  
Added: ## Uses
Added:  
Added: 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:  
Added: 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]
Added:  
Added: ## See also
Added: - [[TCP/IP]]
Added: - [[Domain Name System]]
Added: - [[Voice over IP]]
Added: - [[Jon Postel]]

Sources

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

Categories

Removed:  
Added: Computer networks
Added: Internet

Other names

Removed:  
Added: UDP
Added: UDP/IP
Added: RFC 768