Transmission Control Protocol


Like the IP datagram, a TCP segment is divided into two parts viz:

1.    TCP header and

2.    Data

The TCP header is also of 5 word length like IP header and is of 20 octets.

The feature of TCP header is given below.

Transmission Control Protocol

1.    Source Port (16 bits)

It specifies from which port the segment has come.

2.    Destination Port (16 bits)

It specifies to which port the segment has to be sent.

3.    Sequence Number (32 bits)

   Specifies the sequence number of the first data octet present in the segment.



4.    Acknowledgement Number (32 bits)

Contains the sequence number of the next data octet to be received.

5.    Header length

Specifies the number of 32 bit words present in the header. It is usually 5 for a 20 octet header.

6.    Unused

Reserved for future use.

7.    Flags

It is used for sending control information.

8.    Window

Specifies the number of data octets staring from the data octet specified in the acknowledgement field that the receiver is ready to receive.

9.    Checksum

Used for error detection.

10.   Urgent pointer

Contains the address of the last octet in a sequence of urgent data.




Latest Articles


Average Acceleration Calculator

Average acceleration is the object's change in speed for a specific given time period. ...


Free Fall Calculator

When an object falls into the ground due to planet's own gravitational force is known a...


Permutation

In Mathematics, the permutation can be explained as the arrangement of objects in a particular order. It is an ordered...

Perimeter of Rectangle

A rectangle can be explained as a 4-sided quadrilateral which contains equal opposite sides. In a rectangle

Perimeter of Triangle

A three sided polygon which has three vertices and three angles is called a triangle. Equilateral triangle...