What does Windows error code 10044 (WSAESOCKTNOSUPPORT) mean?

 
Previous Next
WSAEPROTONOSUPPORT WSAEOPNOTSUPP

WSAESOCKTNOSUPPORT

WSAESOCKTNOSUPPORT says that the selected address family does not support the requested socket type. It is most useful when diagnosing a socket or WSASocket failure: the provider may understand the family but not expose the stream, datagram, raw, reliable-message, or other type the application requested.

Do not confuse family, type, and protocol

Address family answers “what kind of addresses are these?”, while socket type describes the communication abstraction. The protocol then identifies a transport compatible with that combination. This code is different from WSAEPROTONOSUPPORT, where a protocol is absent, and from WSAEAFNOSUPPORT, where the supplied address family itself is incompatible with the socket.

What to verify

  • Inspect the requested af, type, and protocol together in the error log.
  • Do not substitute another type merely to make startup succeed; stream, datagram, and raw semantics require different application logic.
  • Confirm that provider-specific or raw sockets are supported and permitted on the target Windows configuration.

Microsoft: WSASocket · Microsoft: Winsock error codes · The Open Group: socket types


Looking for a different code? Search another status or error code.