Spiegato, Home

Technology and Gadgets

What is the User Datagram Protocol?

  • Published by Spiegato
  • 2 min read

The user datagram protocol is one of the major network protocols used to transmit information on the Internet. It is part of the Internet Protocol Suite, which governs how computers communicate with servers and each other over an Internet protocol (IP) network. When using the user datagram protocol, an application can send datagrams, or messages, to other hosts without first setting up special transmission channels or data paths. This allows for faster communication, but is less reliable than other methods.

This protocol was designed in 1980 by American computer scientist David P. Reed of the Massachusetts Institute of Technology (MIT). After review and testing, the protocol was formally defined in RFC 768. An RFC, or request for comments, is a memorandum published by the Internet Engineering Task Force, which outlines accepted protocol for Internet usage.

The focus of the user datagram protocol is on data transmission. It provides no safeguards to ensure that the information actually arrives or to protect the integrity of the data as it moves. The protocol assumes that, if error checking is important, the computers doing the communication will take care of it.

The user datagram protocol is a stateless protocol. This means that it treats each request for information as an independent transaction. The advantage to operating this way is that higher traffic can be supported by the server because there is no need to assign storage space for conversations in progress.

In some cases, the user datagram protocol is actually preferable to more reliable methods of communication. For instance, it allows messages to be delivered without the delay caused by error checking. Time-sensitive applications often use it for this reason. A common example of this type of application is streaming media such as a Voice over IP.

The user datagram protocol is also useful for servers that handle a huge volume of small requests. As the server does not need to assign storage space or set up connections before communicating, it can respond to each individual request more quickly. The result is faster service for all users. For this reason, the user datagram protocol is often used by servers running online games.
Despite its usefulness, the user datagram protocol is not suitable for all applications. Sometimes error correction is necessary to ensure reliable delivery of the data. In this case, RFC 768 recommends using the Transmission Control Protocol outlined in RFC 761 instead.

Key terms in this article

Related articles

  • What is User Modeling?

    Modeling is the creation of simulations in order to make judgments in advance of actual events. Modeling and simulation are used for a variety of…

  • What is User Generated Content?

    User generated content (UGC) is material on websites, and occasionally other media sources, that is produced by the users of the website. This is…

  • What is a User Interface?

    A user interface describes any mechanism by which a human interacts with a machine or computer. From automobiles to toasters to personal computers, nearly…

  • What is a Remote Authentication Dial in User Service?

    Remote Authentication Dial In User Service (RADIUS) is a networking protocol that handles the authentication, authorization and accounting (AAA) between a…

  • What is User Interface Testing?

    User interface testing is a process by which the user interface of something, often a piece of hardware or software, is tested for errors and…