Module |
|
Header |
/Engine/Source/Runtime/Sockets/Public/NetworkMessage.h |
Include |
#include "NetworkMessage.h" |
struct FNFSMessageHeader
Simple wrapper for sending and receiving atomic packets
Name | Description | |
---|---|---|
|
FNFSMessageHeader ( |
Constructor for empty header |
|
FNFSMessageHeader ( |
Constructor for a header of a given payload |
Name | Description | ||
---|---|---|---|
|
ReceivePayload ( |
This function will receive a header, and then the payload array from the network |
|
|
SendPayloadAndReceiveResponse ( |
This function will send a payload data (with header) and wait for a response, serializing the response to a FBufferArchive |
|
|
WrapAndSendPayload ( |
This function will create a header for the payload, then send the header and payload over the network |