FNetworkCongestionControl

One implementation of network traffic control based on the unacked bytes in flight and the estimated uplink bandwidth and propagation round-trip time.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/TrafficControl.h

Include

#include "Net/TrafficControl.h"

Syntax

class FNetworkCongestionControl

Remarks

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).

Constructors

Name Description

Public function

FNetworkCongestionControl

(
    double ConfiguredNetSpeed,
    uint32 MaxPackets
)

Functions

Name Description

Public function

bool

 

IsReadyToSend

(
    double Timestamp
)

Public function

void

 

OnAck

(
    const FAckSample& AckSample
)

Public function

void

 

OnSend

(
    const FSeqSample& SeqSample
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss