The define to include ws2tcpip was only looking to see if using ipv6, but this is a windows include so it should have checked for MSC_VER