Skip to main content


Home Datagram

Datagram

Datagram definition

A datagram refers to a self-contained, independent unit of data that is transmitted over a network. Datagrams are used to send data between different nodes on a network, such as computers or servers.

A datagram typically consists of a header and a payload. The header contains information such as the source and destination addresses, protocol type, and packet length. The payload contains the actual data being transmitted.

See also: packet capture, packet filtering

How does a datagram work?

Datagrams are an efficient and reliable way to transmit data over a network, as they allow for large amounts of data to be broken up into smaller, more manageable pieces. When a datagram is sent, it is broken up into smaller pieces, or packets, that are transmitted individually across the network. Each packet contains a portion of the datagram payload, along with the necessary header information.

When the packets reach their destination, they are reassembled into the original datagram by the receiving device. This process is handled by the network protocol used, typically the Internet Protocol (IP) or the Use Datagram Protocol (UDP) in the case of the Internet.