FReceivedPacket

Represents a packet received and/or error encountered by the receive thread, if enabled, queued for the game thread to process.

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

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

Include

#include "IpNetDriver.h"

Syntax

struct FReceivedPacket

Remarks

Represents a packet received and/or error encountered by the receive thread, if enabled, queued for the game thread to process.

Variables

Name Description

Public variable

ESocketErrors

 

Error

The error triggered by the socket RecvFrom call.

Public variable

TSharedPtr< FIn...

 

FromAddress

Address from which the packet was received.

Public variable

TArray< uint8 >

 

PacketBytes

The content of the packet as received from the socket.

Public variable

double

 

PlatformTimeSeconds

FPlatformTime::Seconds() at which this packet and/or error was received.

Constructors

Name Description

Public function

FReceivedPacket()

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