WSAEFAULT The name parameter is not a valid part of the user address space, or the buffer size specified by the namelen parameter is too small to
hold the complete host name.
WSANOTINITIALISED A successful WSAStartup call must occur before using this function.
WSAENETDOWN The network subsystem has failed.
WSAEINPROGRESS A blocking Winsock call is in progress, or the service provider is still processing a callback function.