TCP connections
MSS
The most TCP data per packet, announced in the SYN: the link's MTU minus 40 bytes of headers.
MSS (maximum segment size) is the most TCP data one packet may carry. Each side announces its own in its SYN: its link's MTU minus 40 bytes of IPv4 and TCP headers, so 1460 on a 1500-byte link. Each side only knows its own link, so a smaller link in the middle is found later by path MTU discovery, or handled in advance by MSS clamping.
Read next
- MTU The largest IP packet a link carries in one frame: 1500 bytes on ordinary Ethernet.
- MSS clamping A router lowering the MSS in TCP SYNs to what its small link carries.
- Three-way handshake SYN, SYN-ACK, ACK: how TCP opens a connection, each side agreeing on starting sequence numbers.
- Fragmentation Cutting a packet that is too big for the next link into pieces, reassembled at the destination.