COMPUTER NETWORKING

TRANSPORT LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Maximum size of TCP header is
A
80 bytes
B
60 bytes
C
20 bytes
D
40 bytes
Explanation: 

Detailed explanation-1: -The size of Options field can go up to 40 bytes. So, maximum length of TCP header = 20 bytes + 40 bytes = 60 bytes.

Detailed explanation-2: -Thus, a TCP header can be no larger than 60 bytes (15 × 32 bits = 480 bits = 60 bytes). Note that TCP does not define “total length” like UDP does, but rather only defines “header length, ‘’ like IP.

Detailed explanation-3: -The minimum size header is 5 words and the maximum is 15 words thus giving the minimum size of 20 bytes and maximum of 60 bytes, allowing for up to 40 bytes of options in the header. This field gets its name from the fact that it is also the offset from the start of the TCP segment to the actual data.

Detailed explanation-4: -The IHL field can hold values from 0 (Binary 0000) to 15 (Binary 1111). So the longest Internet Header (IP header) size can be 15*32 Bits = 480 Bits = 60 Bytes. This is why the header has a maximum size of 60 Bytes.

There is 1 question to complete.