The RWIN you set should work, just that Windows 7 and newer reports only the "current" RWIN value, not the "max" RWIN value, it varies with each packet.
As to the MTU - the highest it can be on the internet is 1500. MSS is calculated by removing the headers from your MTU value, in this case 20 byte TCP header, and 20 byte IP headers, so typically 1500-40 = 1460. If you use ping to find your highest possible MTU/MSS, then you are using ICMP, not TCP/IP so the headers are only 28 bytes. That is why the highest non-fragmented ping you can send 1472 bytes --> 1500 byte MTU - 28 bytes of headers = 1472 MSS. For TCP/IP, this still translates to 1500 MTU - 40 bytes of headers = 1460 MSS
I hope this helps.
Bookmarks