I have three questions about INetLib.

First, I was under the impression that the default compression scheme 
for all Palm Net sockets is     inetCompressionTypeBitPacked. 
However, when I do the following on a socket that is opened via 
INetLibOpenURL,

UInt32  compType;
UInt16  compTypeL = sizeof ( UInt32 );
        error = INetLibSockSettingGet (
                iNetLibRefNum, socketH, inetSockSettingCompressionTypeID,
                &compType, &compTypeL );

I'm getting back compType of inetCompressionTypeNone. Do I misunderstand?

Second, if I retrieve any data using that socket, it comes back all 
mangled up like it actually _is_ bit packed. What's going on?

Third, the following code dies with a source code SockSet error:

        compType = inetCompressionTypeNone;
        error = INetLibSockSettingSet (
                iNetLibRefNum, socketH, inetSockSettingCompressionTypeID,
                &compType, compTypeL );

Anyone have any ideas why? TIA.

Regards,
Steve Mann

-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to