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 5 - AppleTalk Data Stream Protocol (ADSP) / ADSP Reference
Data Structures


The Address Block Record

The address block record defines a data structure of AddrBlock type. ADSP routines use this data type to specify the AppleTalk internet socket address of the remote connection end in the CCB. You can use NBP to get the address of an application that
is registered with NBP. See the chapter "Name-Binding Protocol (NBP)" in this book for more information. ATP functions also use this data type to specify AppleTalk internet socket addresses.

TYPE AddrBlock = 
PACKED RECORD
   aNet:          Integer;    {network number}
   aNode:         Byte;       {node ID}
   aSocket:       Byte;       {socket number}
END;
Field Description
aNet
The network number to which the node belongs that is running the ADSP or ATP client application whose address you are specifying.
aNode
The node ID of the machine running the ADSP or ATP client application whose address you are specifying.
aSocket
The number of the socket used for the ADSP or ATP client application.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996