Share via


AFPROTOCOLS

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Winsock2.h.

See Also

WSAQUERYSET (Windows Sockets) | WSALookupServiceBegin (Windows Sockets) | NSPLookupServiceBegin

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.