----- Original Message ----- From: "Petr Stetina" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, July 07, 2004 8:11 AM Subject: Re: TCP buffer size?
> To discover such buffer space try to send data without reading on the > other side of connection. > > Petr
We thought about experimenting to uncover the buffer size, but this architecture will run in a number of different environments for several years at least, and I'm not sure we can devise a test that will cover all the possible implementations. I'd hate to find out later that the very premise of our design is wrong.
Jeremy, are you sure you want the TCP/IP buffer size, or the minimum UDP buffer size? For UDP, I wouldn't go over the Ethernet frame size of 1536 bytes, as anything larger could easily be fragmented between your server and whatever wireless system communicated to the device.
Also, the NetLib implementation varies considerably from device to device. The original NetLib used in Palm OS 4.x and earlier is closely tied to PPP, while OS 5 provided a new implementation that's a true stack architecture. Palm OS Cobalt uses another implementation that's different from OS 5.
-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
