Important: The information in this document is obsolete and should not be used for new development.
GetNodeAddress
TheGetNodeAddressfunction 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
myNetreturns 0, this means that there is no internet router available. However, your application or process should callGetBridgeAddressto determine if there are router-like services available to that node.DESCRIPTION
TheGetNodeAddressfunction returns the address of a node on a network. If the network is not an extended network, the network number thatGetNodeAddressreturns is 0. Note that even ifGetNodeAddressreturns 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
GetNodeAddressfunction returns a function result ofnoMPPErr. To install the .MPP driver, open it using the Device Manager'sOpenDriverfunction or theMPPOpenfunction.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