次の方法で共有


TCP_BOOLEAN_OPTIONAL (Compact 2013)

3/26/2014

This 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 , *PTCP_BOOLEAN_OPTIONAL;

Constants

  • TcpBoolOptDisabled
    The option should be disabled.
  • TcpBoolOptEnabled
    The option should be enabled.
  • TcpBoolOptUnchanged
    The option should be unchanged.

Remarks

The collection of extended statistics on a TCP connection are enabled and disabled by 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

Header

iphlpapi.h

See Also

Reference

IP Helper Enumerations
SetPerTcp6ConnectionEStats
SetPerTcpConnectionEStats
TCP_ESTATS_BANDWIDTH_RW_v0
TCP_ESTATS_TYPE