Documentation  |   Table of Contents   |  < Previous   |  Next >  

73    NetMgr.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

In Palm OS Cobalt applications no longer use 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 73.1  Deleted functions 

NetLibAddrAToIN()

NetLibAddrINToA()

NetLibClose()

NetLibConfigAliasGet()

NetLibConfigAliasSet()

NetLibConfigDelete()

NetLibConfigIndexFromName()

NetLibConfigList()

NetLibConfigMakeActive()

NetLibConfigRename()

NetLibConfigSaveAs()

NetLibConnectionRefresh()

NetLibDmReceive()

NetLibFinishCloseWait()

NetLibGetHostByAddr()

NetLibGetHostByName()

NetLibGetMailExchangeByName()

NetLibGetServByName()

NetLibIFAttach()

NetLibIFDetach()

NetLibIFDown()

NetLibIFGet()

NetLibIFSettingGet()

NetLibIFSettingSet()

NetLibIFUp()

NetLibMaster()

NetLibOpen()

NetLibOpenConfig()

NetLibOpenCount()

NetLibOpenIfCloseWait()

NetLibReceive()

NetLibReceivePB()

NetLibSelect()

NetLibSend()

NetLibSendPB()

NetLibSettingGet()

NetLibSettingSet()

NetLibSleep()

NetLibSocketAccept()

NetLibSocketAddr()

NetLibSocketBind()

NetLibSocketClose()

NetLibSocketConnect()

NetLibSocketListen()

NetLibSocketOpen()

NetLibSocketOptionGet()

NetLibSocketOptionSet()

NetLibSocketShutdown()

NetLibTracePrintF()

NetLibTracePutS()

NetLibWake()

Table 73.2  Deleted macros

netFDClr()

netFDIsSet()

netFDSet()

netFDZero()

NetNow()

Table 73.3  Deleted structures 

NetConfigNameType

NetHostInfoBufType

NetHostInfoType

NetIOParamType

NetIOVecType

NetMasterPBType

NetServInfoBufType

NetServInfoType

NetSocketAddrINType

NetSocketAddrRawType

NetSocketAddrType

NetSocketLingerType

NetSocketNoticeEventType

NetSocketNoticeMailboxType

NetSocketNoticeType

SysNotifyNetLibIFMediaType

SysNotifyNetSocketType

Table 73.4  Deleted types

NetFDSetType

NetIPAddr

NetSocketRef

Table 73.5  Deleted #defines 

netCfgNameCTPWireless

netCfgNameCTPWireline

netCfgNameDefault

netCfgNameDefWireless

netCfgNameDefWireline

netConfigIndexCurSettings

netConfigNameSize

netCreator

netDNSMaxAddresses

netDNSMaxAliases

netDNSMaxDomainLabel

netDNSMaxDomainName

netDrvrHWNameLen

netDrvrTypeNameLen

netErr...

netFDSetSize

netFtrCommandBlocks

netFtrCreator

netFtrNumVersion

netIFCreatorLoop

netIFCreatorPPP

netIFCreatorRAM

netIFCreatorSLIP

netIFFileType

netIFMaxHWAddrLen

netIFNameLen

netIOFlagDontRoute

netIOFlagOutOfBand

netIOFlagPeek

netIOVecMaxLen

netIPAddrLocal

netLibConfigAliasGet

netLibConfigAliasSet

netLibConfigDelete

netLibConfigIndexFromName

netLibConfigList

netLibConfigMakeActive

netLibConfigRename

netLibConfigSaveAs

netLibOpenConfig

netLibTrap...

netLibType

netMaxIPAddrStrLen

netPrefsType

netProtoMaxName

netServMaxAliases

netServMaxName

netSocketNoticeConnectInbound

netSocketNoticeConnectOutbound

netSocketNoticeErr

netSocketNoticeTCPClosed

netSocketNoticeTCPReceive

netSocketNoticeTCPRemoteClosed

netSocketNoticeTCPTransmit

netSocketNoticeUDPReceive

netSocketProtoIPICMP

netSocketProtoIPRAW

netSocketProtoIPTCP

netSocketProtoIPUDP

netTracingAppMsgs

netTracingErrors

netTracingFuncs

netTracingMsgs

netTracingPktData

netTracingPktData40

netTracingPktIFHi

netTracingPktIFLow

netTracingPktIFMid

netTracingPktIP

netTracingPkts

netWLAppEventFlagCTPOnly

netWLAppEventFlagDisplayErrs

Table 73.6  Deleted enumerated types

NetIFSettingEnum

NetLibIFMediaEventNotificationTypeEnum

NetMasterEnum

NetRadioStateEnum

NetSettingEnum

NetSocketAddrEnum

NetSocketDirEnum

NetSocketOptEnum

NetSocketOptLevelEnum

NetSocketTypeEnum

NoticeTypeEnum

Table 73.7  Deleted application-defined functions

NetSocketNoticeCallbackPtr()