Important: The information in this document is obsolete and should not be used for new development.
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
TheOTInitNBPAddress
function .The
OTInitDDPNBPAddress
function .