Re: Question about GPRS and maximum packet size
- From: William Bates <WilliamBates@xxxxxxxxxxxxx>
- Date: Mon, 18 Jul 2005 11:20:58 +1000
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...
.
- References:
- Question about GPRS and maximum packet size
- From: Canon EOS
- Question about GPRS and maximum packet size
- Prev by Date: RE: building a ppc application
- Next by Date: Re: Is there maximum packet size for GPRS transmission?
- Previous by thread: Question about GPRS and maximum packet size
- Next by thread: cryptophone on my smartphone?
- Index(es):
Relevant Pages
|