}
-#if 0
#if defined (WIN32) && !defined (MCAST_JOIN_SOURCE_GROUP)
/*
* I hate manual definitions: Error-prone. Portability hell.
*/
# warning Your C headers are out-of-date. Please update.
-/* No, I won't guess the layout of these two.
- * No, I don't want another socket protection level type-of obnoxious bug. */
-# error Hmmm? This needs fixing.
-# define MCAST_JOIN_GROUP XXX
+# define MCAST_JOIN_GROUP 41
struct group_req
{
- uint32_t gr_interface; FIXME
- struct sockaddr_storage gr_group; FIXME
+ ULONG gr_interface;
+ struct sockaddr_storage gr_group;
};
-
# define MCAST_JOIN_SOURCE_GROUP 45 /* from <ws2ipdef.h> */
struct group_source_req
{
struct sockaddr_storage gsr_source;
};
#endif
-#endif
/**
* IP-agnostic multicast join,