What is TCP?
Transmission Control Protocol is referred to as TCP. It is a transport layer protocol that makes it easier for packets to travel from one place to another. Being a connection-oriented protocol, it creates the link before any communication takes place among the computer devices connected to the network.
TCP header is a facts structure this is brought to the beginning of each TCP phase to offer manage data about the transmitted data. The TCP header contains numerous fields that specify information inclusive of the supply and vacation spot ports, series numbers, acknowledgment numbers, window length, checksum, and flags. Here are the important thing fields discovered in a TCP header:
- Source Port: Specifies the source port quantity, which identifies the sending utility at the supply tool.
- Destination Port: Specifies the destination port wide variety, which identifies the receiving utility on the vacation spot tool.
- Sequence Number: Specifies the sequence variety of the first information byte in the TCP section.
- Acknowledgment Number: Specifies the subsequent sequence quantity predicted by means of the sender of the TCP phase.
- Data Offset: Specifies the period of the TCP header in 32-bit phrases.
- Reserved: Reserved for future use and need to be set to zero.
- Flags: Various flags that manipulate the behavior of the TCP segment, consisting of SYN (synchronize), ACK (acknowledge), FIN (finish), RST (reset), and others.
- Window Size: Specifies the size of the get hold of window, which shows the amount of records that may be received before requiring acknowledgment.
- Checksum: Used for errors detection to make sure the integrity of the TCP section in the course of transmission.
- Urgent Pointer: Specifies the offset from the series wide variety indicating the end of pressing statistics within the TCP segment.
- Options: Optional fields which could encompass extra control records or parameters.
What is Maximum Segment Size?
In the establishment of a TCP connection, Maximum Segment Size (MSS) is vital. MSS refers to a field in the TCP header, that denotes the largest amount of data, in Bytes, that the device can receive in TCP segment. Consider the structure of the frame in the data link layer.