Palm OS Web Application Developer's Guide: Developing and Delivering PQAs with Web Clipping

After you decide on the configuration you want to use, you must open the Internet Library using the INetLibOpen call. INetLibOpen takes many arguments, one of which is the configuration index you chose in the previous section. In addition, you can also specify whether you would like to make use of the cache or not. For standalone applications, using cache may not be appropriate, but then again, it depends on your application. After the INetLib is opened, you have the option to fine-tune the connection parameters before you actually initiate an HTTP transaction.
Conversion algorithms determine the translation done on the data by the proxy server. The Internet Library provides four choices. The choices are indicated by the enumeration constants ctpConvCML, ctpConvCML8Bit, ctpConvNoneLZ77, and ctpConvNone. If your application must run on an existing Palm VII device with the existing proxy, you essentially get only one of the options: ctpConvNone. This instructs the server not to make any conversions. You can also use the ctpConvCML if you are ready to program a decoder for CML, Palm s proprietary format. The following sections explain each conversion algorithm.
The 5-bit CML conversion is the method used by Clipper and is probably useful only for Clipper. The conversion algorithm is optimized for a typical HTML page of English text. All characters are encoded using a 5-bit scheme. So naturally, the scheme can only...