Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking /
Chapter 4 - Zone Information Protocol (ZIP) / ZIP Reference
Routines


Obtaining Zone Information

This section describes the Zone Information Protocol (ZIP) functions: GetMyZone, GetLocalZones, and GetZoneList. The GetMyZone function returns the name of the zone that your application's node belongs to. The GetLocalZones function returns a list of zone names on the local network that your application's node belongs to. The GetZoneList function returns a complete list of zones on the internet that your application's node belongs to.

Assembly-language note
The .XPP driver functions all use the same value (xCall, which is equal to 246) for the csCode parameter to the XPP parameter block. The xCall routine uses the value of the xppSubCode parameter to distinguish between the functions, as follows:
FunctionxppSubCodeValue
GetMyZonezipGetMyZone7
GetLocalZoneszipGetLocalZones5
GetZoneListzipGetZoneList6

Subtopics
GetMyZone
GetLocalZones
GetZoneList

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996