PacketHandler::Incoming

Processes incoming packets at the [PacketHandler](API\Runtime\PacketHandler\PacketHandler) level, before any [UNetConnection](API\Runtime\Engine\Engine\UNetConnection) processing takes place on the packet.

Windows
MacOS
Linux

References

Module

PacketHandler

Header

/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketHandler.h

Include

#include "PacketHandler.h"

Syntax

EIncomingResult Incoming
(
    FReceivedPacketView & PacketView
)

Remarks

Processes incoming packets at the PacketHandler level, before any UNetConnection processing takes place on the packet.

Use this for more complex changes to packets, such as compression/encryption, but be aware that compatibility problems with other HandlerComponent's are more likely.

Returns

Returns Success/Failure

Parameters

Parameter

Description

PacketView

View of the packet being processed - PacketView.Data should be used to return the result

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