Partager via


WSAPROTOCOLCHAIN

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

See Also

Reference

WSAEnumProtocols