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
AppleTalk Utility Functions /


OTInitDDPAddress

Initializes a DDP address structure.

C INTERFACE
size_t OTInitDDPAddress(DDPAddress* address,
                     UInt16 net, 
                     UInt8 node, 
                     UInt8 socket,
                     UInt8 ddpType);
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
address
A pointer to the DDP address structure you wish to initialize.
net
The network number you wish to specify. Set to 0 to default to the local network.
node
The node ID you wish to specify. Set to 0 to default to the
local node.
socket
The socket number you wish to specify. Set to 0 to allow Open Transport to assign a socket dynamically when you use this address to bind an endpoint.
ddpType
The DDP type you wish to specify. Set to 0 unless you are
using DDP.
function result
The size of the NBP address structure.
SEE ALSO
The OTInitNBPAddress function .

The OTInitDDPNBPAddress function .

"Datagram Delivery Protocol".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998