UClientUnitTest::NotifySocketSendRawPacket

Triggered for every packet sent to the server, when LowLevelSend is called.

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h

Include

#include "ClientUnitTest.h"

Syntax

virtual void NotifySocketSendRawPacket
(
    void * Data,
    int32 Count,
    bool & bBlockSend
)

Remarks

Triggered for every packet sent to the server, when LowLevelSend is called. IMPORTANT: This occurs AFTER PacketHandler's have had a chance to modify packet data

NOTE: Don't consider data safe to modify (will need to modify the implementation, if that is desired)

Parameters

Parameter

Description

Data

The raw data/packet being sent

Count

The amount of data being sent

bBlockSend

Whether or not to block the send (defaults to false)

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