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 2 - AppleTalk Utilities / AppleTalk Utilities Reference
Routines


Opening and Closing Drivers

This section describes the functions that you can use to open the .MPP and .XPP drivers, MPPOpen and OpenXPP. The .MPP driver opens the .ATP driver. This section also describes the function that closes the .MPP driver, MPPClose.

The MPPOpen and OpenXPP functions are included to provide a complete description of the AppleTalk programmatic interface. Apple Computer, Inc. recommends that you use the Device Manager's OpenDriver function to open the .MPP and .XPP drivers. In addition to opening a driver, the OpenDriver function returns the driver reference number. If the driver is already open, the OpenDriver function simply returns the driver reference number. For information on the OpenDriver function, see the chapter "Device Manager" in Inside Macintosh: Devices.

The .MPP, .ATP, and .XPP drivers must always be open before you can use the AppleTalk protocols that they implement. The .MPP driver must be open before you open the .XPP driver. How to open the .DSP driver is described in the chapter "AppleTalk Data Stream Protocol (ADSP)" in this book.

WARNING
Because coresident programs might also be using AppleTalk,
you should not close the AppleTalk drivers.
This section also includes the IsMPPOpen and IsATPOpen functions that determine if the .MPP and the .ATP drivers are already open.


Subtopics
MPPOpen
MPPClose
IsMPPOpen
IsATPOpen
OpenXPP

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996