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)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback