PacketHandler::OutgoingConnectionless

Processes outgoing packets without a [UNetConnection](API\Runtime\Engine\Engine\UNetConnection), in the same manner as 'Outgoing' above

Windows
MacOS
Linux

References

Module

PacketHandler

Header

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

Include

#include "PacketHandler.h"

Syntax

const ProcessedPacket OutgoingConnectionless
(
    const TSharedPtr< const FInternetAddr > & Address,
    uint8 * Packet,
    int32 CountBits,
    FOutPacketTraits & Traits
)

Remarks

Processes outgoing packets without a UNetConnection, in the same manner as 'Outgoing' above

Connectionless packets are unreliable.

Returns

Returns the final packet

Parameters

Parameter

Description

Address

The address the packet is being sent to

Packet

The packet data to be processed

CountBits

The size of the packet data in bits

Traits

Traits for the packet, if applicable

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