WSAPROTOCOLCHAIN structure
The Windows Sockets WSAPROTOCOLCHAIN structure contains a counted list of Catalog Entry identifiers that comprise a protocol chain. This structure is defined as:
Syntax
typedef struct _WSAPROTOCOLCHAIN {
int ChainLen;
DWORD ChainEntries[MAX_PROTOCOL_CHAIN];
} WSAPROTOCOLCHAIN, *LPWSAPROTOCOLCHAIN;
Members
ChainLen
Length of the chain. The following settings for ChainLen apply:Setting Description 0
Indicates a layered protocol, such as the Windows Socket switch.
1
Indicates a base protocol, such as a SAN service provider.
>1
Indicates a protocol chain.
ChainEntries
Array of protocol chain entries.
Remarks
If the length of the chain is greater than 1, this structure represents a protocol chain that consists of one or more layered protocols on top of a base protocol. The corresponding Catalog Entry IDs are in the ChainEntries array member, starting with the layered protocol at the top (the zero element in the ChainEntries array) and ending with the base protocol. Refer to the Windows Sockets 2 Service Provider Interface in the Windows SDK documentation For more information about protocol chains.
Requirements
Version |
Requires Windows Sockets version 2.0. |
Header |
Winsock2.h (include Winsock2.h) |
See also