Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AFPROTOCOLS structure

The AFPROTOCOLS structure supplies a list of protocols to which application programmers can constrain queries. The AFPROTOCOLS 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 the AFPROTOCOLS structure are a functional pair, and only have meaning when used together, as protocol values have meaning only within the context of an address family.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winsock2.h

See also

WSAQuerySet
WSALookupServiceBegin
NSPLookupServiceBegin

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.