Apple Network Setup OTCfgRemoteClientMisc, OTCfgRemoteConnect, connectAutomatically, canInteract

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 127
Image 127
OTCfgRemoteClientMisc

C H A P T E R 4

Network Setup Protocol Structures and Data Types

The preference type for this preference is OTCfgRemoteClientLocks, which is defined as 'clks'.

OTCfgRemoteClientMisc

The OTCfgRemoteClientMisc structure stores automatic connection information.

struct OTCfgRemoteClientMisc

{

 

UInt32

version;

UInt32

connectAutomatically;

};

 

Field descriptions

version

Depending how the preference was constructed, version

 

may be kOTCfgRemoteDefaultVersion or

 

kOTCfgRemoteAcceptedVersion. When reading the version

 

field, accept either value. When writing the version field,

 

set it to kOTCfgRemoteDefaultVersion.

connectAutomatically

 

Set to 1 to connect automatically when the first TCP/IP

 

application starts up. Set to zero to not connect

 

automatically.

The preference type for this preference is kOTCfgRemoteClientMiscPref, which is

defined as 'cmsc'.

 

OTCfgRemoteConnect

The OTCfgRemoteConnect structure store core connection information for ARA configurations.

struct OTCfgRemoteConnect {

 

UInt32

version;

UInt32

fType;

UInt32

isGuest;

UInt32

canInteract;

Protocol Structures

127

Page 127
Image 127
Apple Network Setup manual OTCfgRemoteClientMisc, OTCfgRemoteConnect, connectAutomatically, canInteract