Structure used to specify values for the PR_SockOpt_AddMember and PR_SockOpt_DropMember socket options that define a request to join or leave a multicast group.
#include <prio.h>
struct PRMcastRequest {
PRNetAddr mcaddr;
PRNetAddr ifaddr;
};
typedef struct PRMcastRequest PRMcastRequest;
The structure has the following fields:
mcaddrifaddrThe mcaddr and ifaddr fields are of the type PRNetAddr, but their port fields are ignored. Only the IP address (inet.ip) fields are used.