The AppleTalk protocol family is a collection of protocols layered
above the Datagram Delivery Protocol (DDP), and using AppleTalk address
format. The AppleTalk family may provide SOCK_STREAM (ADSP), SOCK_DGRAM
(DDP), SOCK_RDM (ATP), and SOCK_SEQPACKET (ASP). Currently, only DDP is
implemented in the kernel; ATP and ASP are implemented in user level
libraries; and ADSP is planned.
AppleTalk addresses are three byte quantities, stored in network
byte order. The include file
defines the AppleTalk address format.
Sockets in the AppleTalk protocol family use the following address
The port of a socket may be set with
The node for
must always be
``this node.'' The net may be
coresponds to the machine's ``primary'' address (the first
causes the address in outgoing packets to be determined when a packet
is sent, i.e. determined late.
is equivalent to opening one socket for each network interface. The
port of a socket and either the primary address or
are returned with