Struct:ip mreq source

Jump to: navigation, search
 
#include <trsocket.h>
 
/* Structure used for Source-Specific Multicast (RFC 3678) */ 
struct ip_mreq_source
{
    struct in_addr imr_multiaddr;  /* IPv4 Class D multicast address */
    struct in_addr imr_sourceaddr; /* IPv4 address of peer's source */
    struct in_addr imr_interface;  /* IPv4 address of local interface */
};
 


ip_mreq_source Parameters

  • imr_multiaddr
    IP host group address that the user wants to join/leave.
  • imr_sourceaddr
    IP address of the peer's source.
  • imr_interface
    IP address of the local interface that the host group address is to be joined on, or is to leave from. If 0, then the default local interface selected with tfSetMcastInterface() will be used instead.