UIpNetDriver::ProcessConnectionlessPacket

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

Windows
MacOS
Linux

Deprecated

  • ProcessConnectionlessPacket has a new API, and will become private soon.

References

Module

OnlineSubsystemUtils

Header

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

Include

#include "IpNetDriver.h"

Syntax

UNetConnection * ProcessConnectionlessPacket
(
    const TSharedRef< FInternetAddr > & Address,
    uint8 * Data,
    int32 & CountBytesRef
)

Remarks

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

Returns

If a new NetConnection is created, returns the net connection

Parameters

Parameter

Description

Address

The address the packet came from

Data

The packet data (may be modified)

CountBytesRef

The packet size (may be modified)

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