Navigation
API > API/Runtime > API/Runtime/NetCommon > API/Runtime/NetCommon/Net > API/Runtime/NetCommon/Net/Common > API/Runtime/NetCommon/Net/Common/Packets
References
| Module | NetCommon |
| Header | /Engine/Source/Runtime/Net/Common/Public/Net/Common/Packets/PacketView.h |
| Include | #include "Net/Common/Packets/PacketView.h" |
Syntax
struct FReceivedPacketView
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< const FInternetAddr > | Address | Receive address for the packet | |
| FPacketDataView | DataView | View of packet data - can reassign to point elsewhere, but don't use to modify packet data | |
| ESocketErrors | Error | Error if receiving a packet failed | |
| FInPacketTraits | Traits | Metadata and flags for the received packet, indicating what it contains and how to process it |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TArrayView< const uint8 > & | Data | Data is deprecated, use DataView instead |