Share via


AFPROTOCOLS (Compact 2013)

3/26/2014

This structure supplies a list of protocols to which application programmers can constrain queries. This structure is used for query purposes only.

Syntax

typedef struct _AFPROTOCOLS {
  INT iAddressFamily;
  INT iProtocol;
} AFPROTOCOLS, *PAFPROTOCOLS, *LPAFPROTOCOLS;

Members

  • iAddressFamily
    Address family to which the query is to be constrained.
  • iProtocol
    Protocol to which the query is to be constrained.

Remarks

The members of this structure are a functional pair and only have meaning when used together, as protocol values only have meaning within the context of an address family.

Requirements

Header

winsock2.h

See Also

Reference

Winsock Structures
WSAQUERYSET (Windows Sockets)
WSALookupServiceBegin (Windows Sockets)
NSPLookupServiceBegin