TCP

TCP Packet Format

The segment consists of a 20 - 60 bytes header, followed by data.

The inclusion of checksum in TCP is mandatory. The checksum is calculated using pseudoheader.