Payload in Computer Networks (original) (raw)

Last Updated : 14 Apr, 2025

During the transmission of data using Internet Protocol from sender to receiver, data is sent in the form of packets. Each packet contains a header and data, which is referred to as **payload. Headers are appended to payload for transport and are discarded once they successfully reach their destination. If this payload is malicious it can infect the systems.

**Payload length

**Payload length is simply the size of actual data being sent in a packet, not including extra information like headers or control data. When data is sent over a network, it's broken into smaller pieces called packets. Each packet contains two main parts: the **header (which holds information about how to route and control data) and the **payload (which contains actual data you want to send).

Payload length is important because it indicates the size of useful data that is being transported and can affect network performance and efficiency.

**Payload in IPv6 Format

This is the format of the latest IPv6 Header Format. The length of the payload is 16bits.

**Payload in IPv4 Format

frame_2995

IPv4 Format

An IPv4 packet is divided into two main parts: