Documentation  |   Table of Contents   |  < Previous   |  Next >  

72    NetBitUtils.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

In Palm OS Cobalt applications no longer use the Net Library (and, accordingly, the Net Bit Utilities that were used in conjunction with the Net Library) in order to connect to and transfer data to and from other machines using the standard TCP/IP protocols. Instead, Palm OS Cobalt application should use the standard Berkeley sockets APIs declared in sys/sockets.h.


NOTE: The Berkeley sockets APIs are not complete. In particular, the following are not supported in Palm OS Cobalt: AF_UNIX address family, PF_UNIX protocol family, socketpair(), and any UNIX-style asynchronous features, such as signals, options, or flags.

Deleted APIs ^TOP^

Table 72.1  Deleted functions

NetLibBitGetFixed()

NetLibBitGetIntV()

NetLibBitGetUIntV()

NetLibBitMove()

NetLibBitPutFixed()

NetLibBitPutIntV()

NetLibBitPutUIntV()

Table 72.2  Deleted macros 

BitGetFixed()

BitGetIntV()

BitGetUIntV()

BitMove()

BitPutFixed()

BitPutIntV()

BitPutUIntV()

NetHToNL()

NetHToNS()

NetNToHL()

NetNToHS()

Table 72.3  Deleted #defines

bitsInByte

bitVarIntMaxBits

bitVarIntMaxBytes

netPrvRefnum