Important: The information in this document is obsolete and should not be used for new development.
GetNodeAddress
TheGetNodeAddress
function returns the current node ID and network number of the node on which the calling program is running.
FUNCTION GetNodeAddress (VAR myNode,myNet: Integer): OSErr;
myNode
- The node ID of the node on which your application or process is running.
myNet
- The network number of the network to which the node is attached that is running your application or process. If
myNet
returns 0, this means that there is no internet router available. However, your application or process should callGetBridgeAddress
to determine if there are router-like services available to that node.DESCRIPTION
TheGetNodeAddress
function returns the address of a node on a network. If the network is not an extended network, the network number thatGetNodeAddress
returns is 0. Note that even ifGetNodeAddress
returns a network number of 0, there may be a router service on the local network. For example, a node can be on a network whose network number is 0 and be connected to a remote network through Apple Remote Access (ARA).If the .MPP driver is not installed, the
GetNodeAddress
function returns a function result ofnoMPPErr
. To install the .MPP driver, open it using the Device Manager'sOpenDriver
function or theMPPOpen
function.ASSEMBLY-LANGUAGE INFORMATION
This function is implemented in the MPW glue code only. It is not accessible from assembly language.RESULT CODES
noErr 0 No error noMPPErr -3102 The .MPP driver is not installed