C H A P T E R 4

Network Setup Protocol Structures and Data Types

No preference type is defined for this structure. Instead, access this structure through the OTCfgATalkGeneral (page 145) structure, which has a preference type of kOTCfgATalkGeneralPref.

OTCfgATalkGeneralASP

The OTCfgATalkGeneralASP structure defines parameters for the AppleTalk Session Protocol (ASP) component of the AppleTalk protocol stack and is a sub-structure of the OTCfgATalkGeneral structure.

IMPORTANT

Open Transport does not currently include a native implementation of ASP. The classic AppleTalk implementation of ASP ignores these preferences.

struct OTCfgATalkGeneralASP

{

UInt16 fVersion;

UInt16 fSize;

UInt32 fDefaultTickleInterval;

UInt8 fDefaultTickleRetries;

UInt8 fDefaultReplies;

};

Field descriptions

fVersion

Must be 1.

fSize

The size in bytes of this structure.

fDefaultTickleInterval

The default tickle interval in milliseconds. This value must be 30000. This value is ignored by current versions of Open Transport.

fDefaultTickleRetries

The default number of times to retry sending a tickle. The default value is 8. This value is ignored by current versions of Open Transport.

fDefaultReplies Must be 8. This field is ignored by current versions of Open Transport.

Protocol Structures

149

Page 149
Image 149
Apple Network Setup manual OTCfgATalkGeneralASP, Size in bytes of this structure, 149