This error is returned by WSAStartup function if the Windows Sockets implementation cannot function at this time because ...

This error is returned by WSAStartup function if the Windows Sockets implementation cannot function at this time because the underlying system it uses to provide network services is currently unavailable. Users should check the following. Ensure that the appropriate Windows Sockets DLL file is in the current path. Ensure that they are not trying to use more than one Windows Sockets implementation simultaneously. If there is more than one WINSOCK DLL on your system, be sure the first one in the path is appropriate for the network subsystem currently loaded. Check Windows Sockets implementation documentation to be sure all necessary components are currently installed and configured correctly.