PNRP and WSAQUERYSET

PNRP uses the WSAQUERYSET structure in conjunction with various functions to facilitate resolving names and enumerating names and clouds.

For complete definitions of WSAQUERYSET or Windows Sockets functions, see their respective definitions in the Windows Sockets 2 API documentation in the Platform SDK.

WSAQUERYSET and WSASetService

The WSASetService function uses the WSAQUERYSET structure to register or remove peer names. The PNRP and WSASetService page outlines how to use the WSAQUERYSET structure with this function.

WSAQUERYSET and WSALookupServiceBegin

The WSAQUERYSET structure is used extensively with the WSALookupServiceBegin, WSALookupServiceNext, and WSALookupServiceEnd functions. Details about how these functions use the WSAQUERYSET structure are detailed in the following reference pages:

Requirements

Requirement Value
Minimum supported client
Windows XP with SP2 [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Version
Windows XP with SP1 with the Advanced Networking Pack for Windows XP
Header
P2P.h

See also

PNRP and BLOB

PNRP and WSASetService