Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FNFSMessageHeader
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/NetworkMessage.h |
| Include | #include "NetworkMessage.h" |
| Source | /Engine/Source/Runtime/Sockets/Private/NetworkMessage.cpp |
static bool SendPayloadAndReceiveResponse
&40;
const TArray< uint8 > & Payload,
class FArrayReader & Response,
const FSimpleAbstractSocket & Socket
&41;
Remarks
This function will send a payload data (with header) and wait for a response, serializing the response to a FBufferArchive true if successful
Parameters
| Name | Description |
|---|---|
| Payload | Bytes to send over the network |
| Response | The archive to read the response into |
| Socket | Connection to send the header and payload |