"Jeff Davey" <[EMAIL PROTECTED]> wrote in message
news:38834@palm-dev-forum...
> The code in snip2 returns an error value of 5148. The API states this call
> should return one of three values:
>
> 0 - no error
> inetErrSettingNotImplemented - "Invalid setting specified" (S/B
1403)
> inetErrSettingSizeInvalid - "bufLen is the incorrect size for
the
> setting" (S/B 1402)
>
> So the 5148 return value is way out in the weeds. Does anyone have any
idea
> how to set up the socket for a Palm bitmap (binary stream?)
5148 decimal == 0x141c hexadecimal. This error code corresponds with
inetErrSettingNotImplemented (which is 0x1400 | 0x001c, and 0x1c == 28).
You're getting this because setting the content type isn't supported on
INetLib through PalmOS 3.5. Its in the 4.0 version of the library, but not
older ones.
Does this problem with retrieval occur just on a Palm VII device or also on
the emulator? I've been pulling down 6K binaries laterly with no problem on
either mode, but I don't see anything immediately wrong with your coding.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/