A datagram is a package of packet transfer communications information that meets two pieces of criteria.

Datagrams must:

  • Include a header field with protocol-specific metadata (such as sequence number, protocol type, etc).
  • Contain a data field.

In the traditional Internet Protocol (IP) stack, this is also called a packet.