SOIPv6Mreq


C Specification

#include <dolphin/socket.h>
typedef struct SOIPv6Mreq
{
    SOIn6Addr   multiAddr;  // IPv6 multicast address
    u32         interface;  // interface index
} SOIPv6Mreq;

Description

SOIPv6Mreq structure is used to join and leave the IPv6 host groups with SO_IPV6_JOIN_GROUP and SO_IPV6_LEAVE_GROUP options for SOSetSockOpt().

multiaddr IPv6 multicast address of group.
interface Index of interface. If zero is specified, the default interface will be chosen for SO_IPV6_JOIN_GROUP and the first matching group is dropped for SO_IPV6_LEAVE_GROUP.

See Also

SOGetSockOpt(), SOSetSockOpt()