User Datagram Protocol
|The TCP/IP model (RFC 1122)|
The English used in this article may not be easy for everybody to understand. (February 2012)
The User Datagram Protocol (UDP) is one of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer applications can send messages, sometimes known as datagrams, to other hosts on an Internet Protocol (IP) network without requiring other communications to set up special transmission channels or data paths. UDP is sometimes called the Universal Datagram Protocol. The protocol was designed by David P. Reed in 1980 and formally defined in RFC 768.
UDP applications use datagram sockets to establish host-to-host communications. Sockets bind the application to service ports that functions as the endpoints of data transmission. A port is a software structure that is identified by the port number, a 16 bit integer value, allowing for port numbers between 0 and 65,535. Port 0 is reserved, but is able to be used if the sending process does not expect messages in response.
Ports 1024 through 49,151 (0xBFFF) are registered ports.
- RFC 768, "User Datagram Protocol", J. Postel, August 1980
- IANA Port Assignments
- The Trouble with UDP Scanning (PDF)
- Breakdown of UDP frame
- UDP on MSDN Magazine Sockets and WCF