Maximum Transmission Unit value detection
hi all,
does anybody know how to detect the value of MSS (Maximum Segment Size) for Ethernet-based networks under both WinCE and Windows NT/2K? Maybe there are some registry keys or API?
The reason of all these headaches is that different WinCE devices have different MSS during TCP/IP session toward Win NT/2K, and this strongly influences on performance (or even on successness in some cases) of communications.
Any advices will be appreciated.
TIA,
[483 byte] By [
alex_gusev] at [2007-11-18 3:12:15]

# 1 Re: Maximum Transmission Unit value detection
My suggestion is looking on MSDN.microsoft.com for tcpip registry settings. Should be some documentation there on how to tweak these settings (MTU) Also look at the PMTU (EnablePMTUDiscovery)
Mick at 2007-11-9 13:03:22 >

# 2 Re: Maximum Transmission Unit value detection
thanks, Mick, MTU I've already got without problem via API calls. Two troubles left now:
1. How to get tcpip header size (to calculate Max Segment Size = MTU - sizeof(tcpip-header) )
2. how get above header size under WinCE
Best wishes,