Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Net/Common/Public/Net/Common/Packets/PacketView.h |
Include |
#include "Net/Common/Packets/PacketView.h" |
struct FReceivedPacketView
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.
Name | Description | ||
---|---|---|---|
|
TSharedPtr< con... |
Address |
Receive address for the packet |
|
DataView |
View of packet data - can reassign to point elsewhere, but don't use to modify packet data |
|
|
Error |
Error if receiving a packet failed |
|
|
Traits |
Metadata and flags for the received packet, indicating what it contains and how to process it |
Name | Description | ||
---|---|---|---|
|
TArrayView< con... |
Data |
Data is deprecated, use DataView instead |