tf6SetMcastInterface

Jump to: navigation, search

Table of Contents >> IPv6 Programmer's Reference


#include <trsocket.h>


int tf6SetMcastInterface (ttUserInterface interfaceHandle);


Function Description

This function only supports IPv6. This function sets the default interface to use to send IPv6 multicast packets. The application can set the IPV6_MULTICAST_IF option on the socket to override this default interface on a per-socket basis.


Parameters

  • interfaceHandle
    Interface handle of the default interface to use to send IPv6 multicast packet.


Returns

  • 0
    Success.
  • TM_EINVAL
    Invalid interface handle.


Table of Contents >> IPv6 Programmer's Reference