DART 200 CDPD Modem User’s Guide | 8 Application Programming |
Maximum packet size transmit control
This feature is not under
The maximum physical size of an IP transmission packet is referred to as the maximum transmission unit (MTU). To avoid packet segmentation, the maximum segment size (MSS) for a data packet should be the MTU size less the packet header size. The standard header sizes are 40 bytes for TCP and 28 bytes for UDP. The following network parameters also need be considered:
∙Largest MTU size - usually at the host LAN and is defined by the Ethernet which has an MTU of 1500 bytes and an MSS of 1460 bytes
∙Smallest MTU size - usually found at an intermediate router. IP standards require that network routers support a minimum MTU of 576 bytes. In most cases, this will be the limiting factor
∙Largest MSS - determined by the smallest MTU found at the various routing points along the path taken by the packet. Usually, this is 576 minus the packet header size
Based on the above, the largest TCP packet which will avoid segmentation is 536 bytes; for UDP it is 548 bytes.
Any
There is no method defined for IP to determine the minimum segment size between two endpoints. Even if one could be developed, the dynamic nature of IP routing makes it very likely that this value would fluctuate and not be dependable. Therefore, to ensure the best application performance use manual or timed data forwarding, and the data packet sizes suggested above.
Sierra Wireless, Inc. |