Re: Question about GPRS and maximum packet size

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Canon EOS,

Under GPRS the initial LCP (link control protocol) negotiation agrees on a MRU (maximum receive unit). This is the maximum size of *any* data packet. Most GPRS networks have a MMU of about 1.5k, but can be any value, up to 65535, that is negotiated (I have seen it down as small as 800 bytes). Remember that data has to be "escaped" within the packet, which does have some overhead.

Although I haven't tested it, I would expect that .NET framework to break your packet into this size, and reassemble it correctly (and transparently) at the receiver.

If you are doing something special to the packet, especially if you are forming it manually, you must be aware of the MRU constraint.



Canon EOS wrote:
Hi,

I just wrote an application for PocketPC 2003, or to be exact, my newly
bought Mini O2. There is a TcpClient on the O2, while server application on
a PC.

If run using WiFi adapter connecting to its public IP (Server on PC), it
works.... without any flaw... except initial connection is abit slow like 2
seconds compare to direct private LAN WiFi. And it work.....

The problem arise when I am using GPRS. I found while receiving the packet
half way, the functions terminated and was catched with errors.

So I am interested to know if there is any untold maximum packet size for
GPRS? If so, I will re-write some sub logic to transmit my data by multiple
of smaller blocks.

If you are curious, my original packets are relatively small, around
3kb~12kb.... It is why I did not write the code to send via multiple small
blocks. And it prove to work on WiFi. So it must be something to do with
GPRS....

Hope some GPRS gurus here can give some lights.....

Thanks for reading...



.



Relevant Pages

  • Re: Is there maximum packet size for GPRS transmission?
    ... If run using WiFi adapter connecting to its public IP, ... The problem arise when I am using GPRS. ... I found while receiving the packet ... I will re-write some sub logic to transmit my data by multiple ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Strange routing / NAT issue
    ... but the latest version of pppd is 2.4.4 ... Disable MRU negotiation. ... 2923 TCP Problems with Path MTU Discovery. ... PMTU tries to discover the largest packet that can be sent ...
    (comp.os.linux.networking)
  • Re: Change MTU size on a Vax 6000 using Multinet 3.2 Rev B?
    ... guidance on how multinet sets parameters. ... I've decided that I am not going to drop the packet size down by more ... I'm informed that the packet size negotiation wasn't implemented ... until Ver 3.3, so theoretically it shouldn't be using ICMP to negotiate, ...
    (comp.sys.dec)
  • Re: Strange MTU Problem
    ... When I was just playing with the MTU and leaving the MRU and stuff alone, ... this is the largest sized packet you will transmit. ... As most serial connections are substantially faster than that, ...
    (comp.os.linux.networking)
  • Re: Strange routing / NAT issue
    ... You caught me there - I knew the option was still included, as pppd ... Disable MRU negotiation. ... when displayed with the man command. ... I guess I tracked it down to the packet size again. ...
    (comp.os.linux.networking)