On Tuesday, 4 February 2014 at 01:47:11 UTC, Evan Davis wrote:
I see suggestions to link to wsock32.lib in c++ forums rather than ws2_32.lib, but socket.d seems to link both? Any help diagnosing is appreciated.
You need to use the definition of IP_ADD_MEMBERSHIP from the WinSock2 header files (=12, not =5).
The problem is explained here: http://support.microsoft.com/kb/257460
