Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FMultichannelTcpSocket
Helper struct for a receive buffer per channel
| Name | FReceiveBuffer |
| Type | struct |
| Header File | /Engine/Source/Runtime/Sockets/Public/MultichannelTcpSocket.h |
| Include Path | #include "MultichannelTcpSocket.h" |
Syntax
struct FReceiveBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReceiveBuffer() |
Constructor, sets the "nobody is waiting" state | MultichannelTcpSocket.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | TArray< uint8 > | Buffer of data not yet accepted by anyone | MultichannelTcpSocket.h | |
| BytesRequiredToResume | int32 | Number of bytes a thread is blocked, waiting to read (or zero if nobody is blocked) | MultichannelTcpSocket.h | |
| EventToResumeWhenDataIsReady | FScopedEvent * | Event to release some thread, once we have at least BytesRequiredToResume | MultichannelTcpSocket.h |