RoundTripTimeStatistics
RoundTripTimeStatistics
RoundTripTimeStatistics
RoundTripTimeStatistics
RoundTripTimeStatistics
Struct
Definition
Represents round trip time information for a StreamSocket object.
public : struct RoundTripTimeStatistics
struct winrt::Windows::Networking::Sockets::RoundTripTimeStatistics
public struct RoundTripTimeStatistics
Public Structure RoundTripTimeStatistics
var roundTripTimeStatistics = {
max: /* Your value */,
min: /* Your value */,
sum: /* Your value */,
variance: /* Your value */
}
 Attributes
Device family 
Windows 10 (introduced v10.0.10240.0)

API contract 
Windows.Foundation.UniversalApiContract (introduced v1)

Capabilities 
ID_CAP_NETWORKING [Windows Phone]

Fields
Max Max Max Max 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.
unsigned int Max;
unsigned int Max;
uint Max;
Max As uint;
var uint = roundTripTimeStatistics.max;
roundTripTimeStatistics.max = uint;
Min Min Min Min 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.
unsigned int Min;
unsigned int Min;
uint Min;
Min As uint;
var uint = roundTripTimeStatistics.min;
roundTripTimeStatistics.min = uint;
Sum Sum Sum Sum 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.
unsigned int Sum;
unsigned int Sum;
uint Sum;
Sum As uint;
var uint = roundTripTimeStatistics.sum;
roundTripTimeStatistics.sum = uint;
Variance Variance Variance Variance Variance
The round trip time variation, in microseconds, for a StreamSocket object. This value is used for receive window autotuning.
This value is always 0 on systems that do not have extended TCP statistics enabled by default.
unsigned int Variance;
unsigned int Variance;
uint Variance;
Variance As uint;
var uint = roundTripTimeStatistics.variance;
roundTripTimeStatistics.variance = uint;