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 With Open Transport / Part 2 - Open Transport Reference
Chapter 30 - AppleTalk Reference / AppleTalk Addressing Reference
Constants and Data Types


The Multinode Address Structure

You use the multinode address format, which also uses the DDP address structure, to identify the socket address for a multinode endpoint. The DDP address structure is defined by the DDPAddress data type, described in the section "The DDP Address Structure".

struct DDPAddress
{
   OTAddressType  fAddressType;
   UInt16         fNetwork;
   UInt8          fNodeID;
   UInt8          fSocket;
   UInt8          fDDPType;
   UInt8          fPad;
};
typedef struct DDPAddress DDPAddress;
FIELD DESCRIPTIONS
fAddressType
A number that specifies the format of the address. For a multinode address, this is always the constant AF_ATALK_MNODE.This is the only way to distinguish the multinode format from a DDP address.
fNetwork
A 16-bit number in the range 0 to 65,534 that specifies the network number. The network number 65,535 (all bits set to 1) is reserved by Apple Computer, Inc. The network number 0 specifies the node's local network.
fNodeID
An 8-bit number in the range from 0 to 255 that specifies the node ID. A node ID of 255 is the broadcast address; a node ID of 0 specifies your own local node and is illegal other than at bind time. For other values, refer to Inside AppleTalk, second edition.
fSocket
Ignored for multinode addresses.
fDDPType
Ignored for multinode addresses.
fPad
Reserved. Set to 0.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998