UNetConnection::FlushNet

Flushes any pending data, bundling it into a packet and sending it via [LowLevelSend()](API\Runtime\Engine\Engine\UNetConnection\LowLevelSend) also handles network simulation settings (simulated lag, packet loss, etc) unless bIgnoreSimulation is true

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h

Include

#include "Engine/NetConnection.h"

Source

/Engine/Source/Runtime/Engine/Private/NetConnection.cpp

Syntax

virtual void FlushNet
(
    bool bIgnoreSimulation
)

Remarks

Flushes any pending data, bundling it into a packet and sending it via LowLevelSend() also handles network simulation settings (simulated lag, packet loss, etc) unless bIgnoreSimulation is true

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