UIpNetDriver::ProcessConnectionlessPacket

Process packets not associated with a NetConnection, performing handshaking and NetConnection creation or remapping as necessary.

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/IpNetDriver.h

Include

#include "IpNetDriver.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/IpNetDriver.cpp

Syntax

UNetConnection * ProcessConnectionlessPacket
(
    FReceivedPacketView & PacketRef,
    const FPacketBufferView & WorkingBuffer
)

Remarks

Process packets not associated with a NetConnection, performing handshaking and NetConnection creation or remapping as necessary.

Returns

If a new NetConnection is created, returns the net connection

Parameters

Parameter

Description

PacketRef

A view of the received packet (may output a new packet view, possibly using WorkingBuffer)

WorkingBuffer

A buffer for storing processed packet data (may be the buffer the input ReceivedPacketRef points to)

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