Winsock MTU values

 
Parameter Value
MTU 576
MSS 536
RWIN (if you do not have a 16550 UART) 1608
RWIN (if you do have a 16550 UART) 4288
   
Term Definition
MTU Maximum Transfer Unit 
The maximum number of bytes that can be sent in a single packet
MSS Maximum Segment Size 
The maximum number of user data bytes that can be included in the packet without fragmentation.  This is 40 less than the MTU because the IP header occupies these 40 bytes.
RWIN Receive WINdow 
The maximum number of bytes that can be received before an acknowledgement is required.  
By setting a very  large RWIN, performance is increased because one acknowledgement packet can acknowledge multiple received packets, however if one packet is in error (i.e. data overrun) then the entire RWIN block must be restransmitted, thus degrading performance.

Back