Navigation
API > API/Runtime > API/Runtime/Engine
One implementation of network traffic control based on the unacked bytes in flight and the estimated uplink bandwidth and propagation round-trip time. The idea is to keep the bytes in flight under the BDP(bandwidth round trip time product).
| Name | FNetworkCongestionControl |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/TrafficControl.h |
| Include Path | #include "Net/TrafficControl.h" |
Syntax
class FNetworkCongestionControl
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkCongestionControl
(
double ConfiguredNetSpeed, |
Net/TrafficControl.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Analyzer | FNetworkTrafficAnalyzer | Net/TrafficControl.h | ||
| MaxPacketsAllowedInFlight | uint32 | Net/TrafficControl.h | ||
| MinRTT | double | Net/TrafficControl.h | ||
| NetSpeed | double | Net/TrafficControl.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsReadyToSend
(
double Timestamp |
Net/TrafficControl.h | ||
void OnAck
(
const FAckSample& AckSample |
Net/TrafficControl.h | ||
void OnSend
(
const FSeqSample& SeqSample |
Net/TrafficControl.h |