Winsock Error Codes - Brought to you by Winsock-Error.com

10046 "Protocol family not supported."

WSAEPFNOSUPPORT (Winsock error number: 10046)

Microsoft say this about Winsock error 10046 - WSAEPFNOSUPPORT:

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.

Full details of Winsock TCP error 10046 - WSAEPFNOSUPPORT:

Berkeley description: The protocol family has not been configured into the system or no implementation for it exists.

WinSock description: Same as Berkeley. Apparently, the Windows Sockets specification left this out by oversight. The WSAEAFNOSUPPORT is the likely substitute error for this in WinSock, although its Berkeley meaning is slightly different. However, the WSAEPROTONOSUPPORT is another possible equivalent for WinSock to use in place of this error.

See also: WSAEAFNOSUPPORT

   
This page is designed to help you to understand Winsock TCP error 10046. It will not necessarily mean you can instantly fix issues when your computer tells you that Winsock is having problems with code 10046, rather it will give you the necessary background information to help solve the matter.

Programming declarations for 10046 (WSAEPFNOSUPPORT):

C#
long WSAEPFNOSUPPORT = 10046 ;

VB.net
Dim WSAEPFNOSUPPORT As Long = 10046

VB6
Dim WSAEPFNOSUPPORT As Long
WSAEPFNOSUPPORT = 10046