AFPROTOCOLS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WSAQUERYSET (Windows Sockets)
WSALookupServiceBegin (Windows Sockets)
NSPLookupServiceBegin