On Tue, May 09, 2000 at 10:25:01PM -0400, David Slotter wrote:
> I have a few INetLib Questions that I am trying to answer. If anyone knows
> or can refer me to somewhere I can find these out, I would appreciate it.
>
> First question:
>
> I am programming the Palm VII in C using the INetLib API. I know that
> Palm.Net is used to handling text data in the text/html and text/plain
> formats as well as image/gif and image/jpeg. Since Palm.Net can handle image
> files such as GIF and JPEG, I would like to know if I can send arbitrary
> binary data through the gateway in either the compressed or uncompressed
> modes of operation, and if there is anything I need to be aware of.
Yes, you simply need to do some settings calls to turn compression off
(and/or that the data is binary).
> Second question:
>
> What are the maximum number of bytes I can send via a POST operation? I have
> found that I can exceed 256 bytes with it, and as a result it is more useful
> to me than a GET operation. The problem is that I do not know what the
> reasonable limits are to expect reliable operation.
Someone at Palm will need to answer this.
> Third question:
>
> What are the maximum number of bytes I may receive when reading from a
> socket? I have heard the number is around 7,500 bytes, but I would like to
> know what the reasonable limits are to expect reliable operation.
This can be set, but normally defaults to a panel preference. The
same inetlib call can set this very large - I've used 64K and
retrieved 44k files).
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/