TCP_BOOLEAN_OPTIONAL enumeration
The TCP_BOOLEAN_OPTIONAL enumeration defines the states that a caller can specify when updating a member in the read/write information for a TCP connection.
Syntax
typedef enum { TcpBoolOptDisabled = 0, TcpBoolOptEnabled = 1, TcpBoolOptUnchanged = -1 } TCP_BOOLEAN_OPTIONAL;
Constants
- TcpBoolOptDisabled
-
The option should be disabled.
- TcpBoolOptEnabled
-
The option should be enabled.
- TcpBoolOptUnchanged
-
The option should be unchanged.
Remarks
The TCP_BOOLEAN_OPTIONAL enumeration is defined on Windows Vista and later.
The collection of extended statistics on a TCP connection are enabled and disabled using calls to the SetPerTcp6ConnectionEStats and SetPerTcpConnectionEStats functions where the type of extended statistics specified is one of values from the TCP_ESTATS_TYPE enumeration type. A value from the TCP_BOOLEAN_OPTIONAL enumeration is used to specify how a member in the TCP_ESTATS_BANDWIDTH_RW_v0 structure should be updated to enable or disable extended statistics on a TCP connection for bandwidth estimation.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also