| Previous | Next |
| WSASERVICE_NOT_FOUND | WSA_E_NO_MORE |
WSATYPE_NOT_FOUND
WSATYPE_NOT_FOUND is about a Winsock service class, not a C or C++ data type and not a socket's SOCK_STREAM/SOCK_DGRAM type. In the Winsock Registration and Name Resolution model, service classes are identified by GUIDs and describe the schema or class of service being queried.
Where to look
A lookup can provide lpServiceClassId in WSAQUERYSET. If the selected namespace provider does not know that class, the query cannot be interpreted as the requested service type.
- Log the service class GUID exactly as passed to the lookup.
- Verify that the class was installed or registered in the namespace expected by the application.
- Check for 32-bit/64-bit installer differences if provider or service registration is architecture-specific.
- Do not confuse this with
WSASERVICE_NOT_FOUND: the class itself can exist while a particular service instance is absent.
Legacy Winsock compatibility code may translate this condition when emulating getservbyname or related database lookups. Preserving both the lookup key and class GUID makes that translation visible.
Microsoft: WSAQUERYSET · Microsoft: Winsock service classes · Microsoft: Winsock error codes
Looking for a different code? Search another status or error code.