Segments & small writes
09TCP chooses segment sizes using peer limits, the path, available windows, and small-write handling.
Segment construction also respects flow and congestion constraints.
Key idea: An MSS is a payload limit, not a packet size.
Rules & examples
An MSS is a payload limit, not a packet size.
- The MSS option describes the largest TCP payload the sender of that option can receive.
- Path MTU discovery helps avoid IP fragmentation.
- Nagle coalesces small writes when data is outstanding; applications must be able to disable it per connection.
Nagle and silly-window avoidance solve related but different problems. Neither creates application message boundaries.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.