Windows Sockets Error – WSAEPFNOSUPPORT 10046

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

Windows Socket Error Code

WSAEPFNOSUPPORT
10046

Windows Socket Error Description

Protocol family not supported.
The protocol family has not been configured into the system or no implementation for it exists. This message has a slightly different meaning from WSAEAFNOSUPPORT. However, it is interchangeable in most cases, and all Windows Sockets functions that return one of these messages also specify WSAEAFNOSUPPORT.