5 #define INADDR_ANY 0x00000000
6 #define INADDR_LOOPBACK 0x7F000001
7 #define INADDR_BROADCAST 0xFFFFFFFF
8 #define INADDR_NONE 0xFFFFFFFF
10 #define INET_ADDRSTRLEN 16
14 #define IPPROTO_UDP 17
18 #define IP_MULTICAST_IF 9
19 #define IP_MULTICAST_TTL 10
20 #define IP_MULTICAST_LOOP 11
21 #define IP_ADD_MEMBERSHIP 12
22 #define IP_DROP_MEMBERSHIP 13
struct in_addr imr_interface
struct in_addr imr_multiaddr
unsigned char sin_zero[8]