From what I understood, WSAStartup should be called on windows before using any of the other socket functions. According to http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx :
The WSAStartup function must be the first Windows Sockets function called by an application or DLL.
However, it is called in BindListenPort which is only called (from init) when fNoListen is not set.
Can a windows dev (@diapolo?) comment on this? Should we move the WSAStartup call some place else?