User Datagram Protocol
The User Datagram Protocol (UDP) is a core member of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer applications can send messages, 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 Archived 2009-01-22 at the Wayback Machine
- UDP on MSDN Magazine Sockets and WCF