TCP Header : TCP Window Size, Checksum and Urgent Pointer

TCP Header window calculation

TCP Window Size, Checksum & Urgent Pointer

The window, checksum and urgent pointer are another important fields in TCP header. Each of these fields are 2 bytes long.

Window Size

Window size the most important part in the TCP header. This fields is used by the receiver to indicate to the sender, the amouth of data that it can accept. So, this field is very important for efficient data transfer and flow control.

Window size uses byte as a metric. If it is mentined that window size is 60k, then it means that receiver accept 60 kilobyte data. When the data transmitted reaches window value then sender expect another window value from the receiver along with the acknowledgement for the window just received.

Window size is not a random value. It is calculated with some parameters like below:

Here, with the link bandwidth and the acarage RTT between the receiver and the sender, the window size can be calculated as mentined above. For th case above, lets calculate the exact value.

 

Lesson tags: tcp, tcp header, windowing
Back to: HCNA (HCIA-Datacom) > TCP and UDP
Comments are closed.

HCNA (HCIA-Datacom)

Collapse
Expand
Latest Blog Posts