What does Windows error code 10110 (WSA_E_NO_MORE) mean?

 
Previous Next
WSATYPE_NOT_FOUND WSA_E_CANCELLED

WSA_E_NO_MORE

WSA_E_NO_MORE is the Winsock 2 result used when WSALookupServiceNext has exhausted the current lookup. The query handle is valid as an enumeration context, but there is no additional WSAQUERYSET result to return.

Treat it as a terminal enumeration state

A common bug is to put every nonzero Winsock error into a retry queue. Retrying Next after WSA_E_NO_MORE does not discover a result that was missed; a new discovery attempt requires a new WSALookupServiceBegin query if the application intentionally wants to search again.

Compatibility with older providers

Microsoft documents a conflicting older value, WSAENOMORE. Winsock 2 applications should recognize both codes because namespace providers may return either. Microsoft identifies WSA_E_NO_MORE as the value intended to remain.

  • End the result loop.
  • Release the lookup handle with WSALookupServiceEnd.
  • Keep “no more results” separate from timeout, cancellation, and provider failure metrics.

Microsoft: WSALookupServiceNext · Microsoft: WSALookupServiceEnd


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