Added missing definition for struct ip_mreq (that at the end is a simple struct containing two in_addr objects)

This commit is contained in:
Fabrizio Bertocci 2021-03-31 22:21:12 -04:00
parent 7abca1531f
commit c7b58be2d6

View file

@ -48,6 +48,12 @@ struct sockaddr_storage {
};
};
struct ip_mreq {
struct in_addr imr_multiaddr; /* IP multicast address of group */
struct in_addr imr_interface; /* local IP address of interface */
};
struct pollfd {
int32_t fd;
int16_t events;