UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FReceivedPacketView Struct Reference

#include <PacketView.h>

Public Attributes

FPacketDataView DataView = {nullptr, 0, ECountUnits::Bits}
 
TArrayView< const uint8 > & Data = DataView.Data
 
TSharedPtr< const FInternetAddrAddress
 
ESocketErrors Error
 
FInPacketTraits Traits
 

Detailed Description

Represents a view of a received packet, which may be modified to update Data it points to and Data size, as a packet is processed. Should only be stored as a local variable within functions that handle received packets.

Member Data Documentation

◆ Address

TSharedPtr<const FInternetAddr> FReceivedPacketView::Address

Receive address for the packet

◆ Data

TArrayView<const uint8>& FReceivedPacketView::Data = DataView.Data

◆ DataView

FPacketDataView FReceivedPacketView::DataView = {nullptr, 0, ECountUnits::Bits}

View of packet data - can reassign to point elsewhere, but don't use to modify packet data

◆ Error

ESocketErrors FReceivedPacketView::Error

Error if receiving a packet failed

◆ Traits

FInPacketTraits FReceivedPacketView::Traits

Metadata and flags for the received packet, indicating what it contains and how to process it


The documentation for this struct was generated from the following file: