次の方法で共有


AFPROTOCOLS (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

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