In the establishment of TCP connection, Maximum Segment Size (MSS) is vital. MSS refers to field in TCP header, that denotes largest amount of data, in Bytes, that device can receive in TCP segment.
Consider structure of frame in data link layer.
- Data link layer is helpful in moving frames from one node to the next. It consists of head (contains information of amount of packets), tail (denotes end of packet flow) and payload (portion of data packet, transmitted. This consists of actual information).
- The payload is referred to as ‘Maximum Transmission Unit’ (MTU). It is biggest packet or size of frame, specified in Bytes, that can be sent over network, like Internet.
Example – Ethernet.
- In Ethernet, the MTU = 1500 Bytes. This is denoted in data link layer.
- Payload of 1500 B, is received by Network layer and is denoted as 1480 B of datagram/payload and 20 B of header.
- TPayload of 1480 B, when received by Transport layer, payload size is observed to be 1460 B and header size is seen to be 20 B. Payload here is referred to as ‘Maximum segment size’. For good communications, the number of bytes in data segment and header has to add up to lower than number of bytes in maximum transmission unit.
Thus, Maximum Segment Size refers to highest payload size, an end device is ready to accept within single packet. The maximum Transmission Unit is highest size of packet that can flow through network without being divided.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Overview of Personal Area Network (PAN)
- Overview of Campus Area Network (CAN)
- Overview of Near-me Area Network (NAN)
- Overview of Desk Area Network (DAN)
- BCD to 7 Segment Decoder
- Services and Segment structure in TCP
- Seven Segment Displays
- Instruction Word Size in Microprocessor
- Maximum Data Rate (channel capacity) for Noiseless and Noisy channels
- What is MTU(Maximum Transmission Unit)?
- Difference between Batch Processing and Stream Processing
- Hamming code Implementation in C/C++
- Difference between Multitasking and Multiprocessing
- Difference between Multiprocessing and Multiprogramming
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.