Struct:ip mreq
#include <trsocket.h> /* Structure used for joining or leaving a group multicast IP address */ struct ip_mreq { struct in_addr imr_multiaddr; /* IPv4 Class D multicast address */ struct in_addr imr_interface; /* IPv4 address of local interface */ };
ip_mreq Parameters
- imr_multiaddr
- IP host group address that the user wants to join/leave.
- imr_interface
- IP address of the local interface that the host group address is to be joined on, or is to leave from. If zero, then the default local interface selected with tfSetMcastInterface() will be used instead.