ip_mreq_source2type
Ip multicast request source
Usage
#include <netinet/in.h>
struct ip_mreq_source {
struct in_addr imr_multiaddr; /* IP multicast group address */
struct in_addr imr_interface; /* IP address of local interface */
struct in_addr imr_sourceaddr; /* IP address of multicast source */
};
Library
Standard C library (libc)
Overview
The ip_mreq_source structure is similar to the ip_mreqn(2type) structure.
- .imr_multiaddr
-
The address of the multicast group the application wants to join or leave.
- .imr_interface
-
The address of the local interface with which the system should join or leave the multicast group.
- .imr_sourceaddr
-
The address of the source the application wants to receive data from.