FNetworkTrafficAnalyzer

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.

Windows
MacOS
Linux

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

Name Description

Public function

FNetworkTrafficAnalyzer

(
    FNetworkCongestionControl* InT...
)

Functions

Name Description

Public function Const

uint32

 

GetBytesInFlight()

Public function Const

double

 

GetLatestRTT()

Public function Const

uint32

 

GetPacketsInFlight()

Public function

void

 

OnAck

(
    const FAckSample& AckSample
)

Public function

void

 

OnSend

(
    const FSeqSample& SeqSample
)

Typedefs

Name

Description

SeqT

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