Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Net
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Net/TrafficControl.h |
| Include | #include "Net/TrafficControl.h" |
Syntax
class FNetworkTrafficAnalyzer
Remarks
A Network traffic analyzer that keeps track of useful information including the RTT and uplink bandwidth of the latest received packet to help the congestion control module work. It uses seq and ack mechanism to track packet and use timestamp and packet size to calculate RTT and bandwidth.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNetworkTrafficAnalyzer
(
FNetworkCongestionControl* InTrafficControlModule |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | |||
| double | GetLatestRTT () |
||
| uint32 | |||
| void | OnAck
(
const FAckSample& AckSample |
||
| void | OnSend
(
const FSeqSample& SeqSample |
Typedefs
| Name | Description |
|---|---|
| SeqT |