Windows sockets need to be enabled
It’s such a pain.
It’s historical back to when Windows didn’t come natively with a TCP/IP implementation and Microsoft was leaving it to third parties to implement this support.
In this day and age it should be enabled by default. It’s one of the few times I could justify using static initialization so that your team doesn’t have to remember to do this on windows.
(said from the perspective of a developer who’s main platform is Mac OS X but the primary customer platform is windows).