Delen via


RoundTripTimeStatistics Struct

Definition

Represents round trip time information for a StreamSocket object.

public value class RoundTripTimeStatistics
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct RoundTripTimeStatistics
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct RoundTripTimeStatistics
var roundTripTimeStatistics = {
variance : /* Your value */,
max : /* Your value */,
min : /* Your value */,
sum : /* Your value */
}
Public Structure RoundTripTimeStatistics
Inheritance
RoundTripTimeStatistics
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
ID_CAP_NETWORKING [Windows Phone]

Fields

Max

The maximum sampled round trip time, in microseconds, for a StreamSocket object.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

Min

The minimum sampled round trip time, in microseconds, for a StreamSocket object.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

Sum

A smoothed value round trip time, in microseconds, computed from all sampled round trip times for a StreamSocket object. The smoothing is a weighted additive function that uses the member.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

Variance

The round trip time variation, in microseconds, for a StreamSocket object. This value is used for receive window auto-tuning.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

Applies to

See also