Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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