Navigation
API > API/Runtime > API/Runtime/Networking > API/Runtime/Networking/FUdpSocketSender
Structure for outbound packets.
| Name | FPacket |
| Type | struct |
| Header File | /Engine/Source/Runtime/Networking/Public/Common/UdpSocketSender.h |
| Include Path | #include "Common/UdpSocketSender.h" |
Syntax
struct FPacket
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPacket () |
Default constructor. | Common/UdpSocketSender.h | |
FPacket
(
const TSharedRef< TArray< uint8 >, ESPMode::ThreadSafe >& InData, |
Creates and initializes a new instance. | Common/UdpSocketSender.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TSharedPtr< TArray< uint8 >, ESPMode::ThreadSafe > | Holds the packet's data. | Common/UdpSocketSender.h | |
| Recipient | FIPv4Endpoint | Holds the recipient. | Common/UdpSocketSender.h |