Windows Sockets Error – WSAEFAULT 10014

In this post, you’ll learn more about the Windows Socket Error WSAEFAULT
10014 returned by the WSAGetLastError function in Windows as well a quick description about the error

Windows Socket Error Code

WSAEFAULT
10014

Windows Socket Error Description

Bad address.
The system detected an invalid pointer address in attempting to use a pointer argument of a call. This error occurs if an application passes an invalid pointer value, or if the length of the buffer is too small. For instance, if the length of an argument, which is a sockaddr structure, is smaller than the sizeof(sockaddr).