Otcfgremotedialing – Apple Network Setup User Manual

Page 131

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

Protocol Structures

131

OTCfgRemoteDialing

4

The

OTCfgRemoteDialing

structure stores settings for outgoing ARA connections.

struct OTCfgRemoteDialing {

UInt32

version;

UInt32

fType;

UInt32

additionalPtr;

OTCfgRemoteRedialMode

dialMode;

UInt32

redialTries;

UInt32

redialDelay;

UInt32

pad;

};

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

.

fType

Must be

‘dial’

.

additionalPtr

Must be zero.

dialMode

The redial mechanism to use. For possible values, see the

OTCfgRemoteDialMode

(page 168) enumeration.

redialTries

The number of times to redial if a connection cannot be
made. Only valid if

dialMode

is not

kOTCfgRemoteRedialNone

.

redialDelay

The number of milliseconds to wait before redialing. The
value of

redialDelay

is only valid if

dialMode

is not

kOTCfgRemoteRedialNone

.

pad

A pad byte whose value must be zero.

The preference type for this preference is

kOTCfgRemoteDialingPref

, which is

defined as

'cdia'

.

Advertising