Datagram is defined in RFC 1594 as a self-contained, independent entity of data carrying sufficient information to be routed from the source to the destination computer without reliance on earlier exchanges between this source and destination computer and the transporting network.

Datagram must be self-contained without reliance on earlier exchanges because there is no connection of fixed duration between the two communicating points.

Datagram service routes datagrams without first creating a predetermined path. Datagram service is therefore considered connectionless. There is also no consideration given to the order in which it and other datagrams are sent or received. In fact, many datagrams in the same group can travel along different paths before reaching the same destination

User Datagram Protocol (UDP) is run by a datagram service in the Internet Protocol which is an entirely connectionless, best effort, unreliable, message delivery service.

Datagram and Packet#

Datagram and Datagram are generally the same. Some folks will be define a packet as any data on a Reliable protocol or Unreliable protocol where a Datagram is used only on a Unreliable protocol. We generally see the two used interchangeably.

More Information#

There might be more information for this subject on one of the following:
  • [#1] - Datagram - based on information obtained 2017-04-01-