Subject: TCP buffer size? From: "Jeremy Neal Kelly" <[EMAIL PROTECTED]> Date: Tue, 6 Jul 2004 17:25:24 -0500
We have a number of wireless applications that run on the SPT 1842, using Palm OS 3.5.2. In the past, to download large amounts of data, we've transmitted many small records to the device, but for various reasons, we're thinking of doing this with a single large record instead. Unfortunately, we don't know how much data we can reliably send at one time. I gather that, immediately before it is read by the socket, the incoming data is stored in the Palm's TCP buffer, so I assume the bottleneck -- if one exists -- is there. Unfortunately, I can't find the size of this buffer. I see that the TCP/IP stack occupies 32K, but I understand that some or all of this is code. I searched the PalmSource site and the 'Companion', but found no answers. Does anyone have an answer for this, or better still -- a reference?
There are problems created by large blocks in a radio setting because the radio drivers split up the blocks for you into their optimum block size, and radio connections are prone to dislocation as the user moves around, potentially in and out of coverage.
In my experience the optimum block size for radio communications with the Symbol gear is around 1KB.
I haven't got a reference for you, but this is based on our experience with lots of 1740x and 184x units on a variety of Symbol 802.11 radio connections using our RF-TP software.
Roger Stringer Marietta Systems, Inc. (www.mariettasystems.com)
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
