次の方法で共有


WSAPROTOCOLCHAIN (Compact 2013)

3/26/2014

This structure contains a counted list of Catalog Entry identifiers that constitute a provider chain.

Syntax

typedef struct _WSAPROTOCOLCHAIN {
  int ChainLen;
  DWORD ChainEntries[MAX_PROTOCOL_CHAIN];
} WSAPROTOCOLCHAIN, *LPWSAPROTOCOLCHAIN;

Members

  • ChainLen
    Length of the chain. A value of 0 indicates a layered protocol. A value of 1 indicates a base protocol. A value of greater than one indicates a provider chain.
  • ChainEntries
    Array of provider chain entries.

Remarks

If the length of the chain is larger than 1, this structure represents a provider chain which consists of one or more layered protocols on top of a base protocol. The corresponding Catalog Entry IDs are in the ProtocolChain.ChainEntries array starting with the layered protocol at the top (the zeroth element in the ProtocolChain.ChainEntries array) and ending with the base protocol. Refer to Windows Sockets 2 Service Provider Interface for more information on provider chains.

Requirements

Header

winsock2.h

See Also

Reference

Winsock Structures
WSAEnumProtocols