Module |
|
Header |
/Engine/Source/Runtime/Sockets/Public/SocketTypes.h |
Include |
#include "SocketTypes.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< FIn... |
Address |
Receive address for the packet |
|
TArrayView< con... |
Data |
View of packet data, with Num() representing BytesRead - can reassign to point elsewhere, but don't use to modify packet data |
|
Error |
Error if receiving a packet failed |