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


About the AppleTalk Utilities

The AppleTalk Utilities are a group of diverse functions, some of which allow you to obtain information about AppleTalk and the networking environment of your node
and some of which allow you change values that affect AppleTalk features.

The PGetAppleTalkInfo function returns a wide range of information, including some information that other functions belonging to the AppleTalk Utilities also return. For example, both PGetAppleTalkInfo and GetNodeAddress return the node ID and network address of the user node that is running your application. The PGetAppleTalkInfo function returns the node ID and the network number of
the last router from which the node that is running your application has heard; the GetBridgeAddress function also returns the node ID of the internet router on your node's local network.

Note
The PGetAppleTalkInfo function was developed and made available after the GetNodeAddress and GetBridgeAddress functions. Apple Computer, Inc. recommends that you use the PGetAppleTalkInfo function to obtain addressing information for a user node or router instead of using the GetNodeAddress and GetBridgeAddress functions.
Although the AppleTalk interface does not include a function that you can use to direct AppleTalk to select a node ID from the server node range when you open AppleTalk,
this chapter describes how you can do this. If your application or the application that opened AppleTalk directed AppleTalk to assign a server node ID to the node, the PGetAppleTalkInfo function will return a flag that tells you this request was made.

AppleTalk includes a feature called intranode delivery that allows two programs running on the same node to communicate with each other through the AppleTalk protocols. The AppleTalk Utilities include the PSetSelfSend function, which you can use to enable or disable intranode delivery. The PGetAppleTalkInfo function will
tell you if intranode delivery is on or off.


Subtopics
Using the AppleTalk Utilities
Determining Whether AppleTalk Phase 2 Drivers Are Supported
Getting Information About the .MPP Driver and the Network Environment
Getting the Address of Your Node or Your Local Router
Sending Packets to Applications and Processes on Your Own Node
Selecting a Node in the Server Range

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996