EAddMulti
EAddMulti Add a multicast address to the node EParamBlkPtr thePBptr; address of an EParamBlock structure Boolean async; 0=await completion; 1=immediate return EAddMulti is a function used to add a multicast address to the node on which thePBptr is a pointer to an EParamBlock structure. The relevant fields are as follows:
¨ ioResult short 2 16 Result code
Æ csCode short 2 26 Always ENetAddMulti
Æ eMultiAddr 6 bytes 6 28 Multicast address
async is a Boolean value. Use FALSE for normal ( synchronous) operation or TRUE to function asynchronously. See Async I/O. noErr (0) No error
eMultiErr (-91) Invalid address or table is full
Notes: You must provide (in the eMultiAddr parameter) the multicast address
EAddMulti function for a particular multicast address, the driver increments a counter for that multicast address. Each time a client of
the counter for that address. As long as the count for a multicast address is
called the EAddMulti function for a particular multicast address, the driver receives packets delivered to that address.
The ioResult parameter returns the result of the function. If you call the
function asynchronously, the function sets this field to 1 as soon as it
begins execution, and it changes the field to the actual result code when it
completes execution. The csCode parameter is the routine selector,
automatically set by the high-level language interface. It is always
ENetAddMulti for this function.