FReceiveBuffer

Helper struct for a receive buffer per channel

Windows
MacOS
Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/MultichannelTcpSocket.h

Include

#include "MultichannelTcpSocket.h"

Syntax

struct FReceiveBuffer

Remarks

Helper struct for a receive buffer per channel

Variables

Name Description

Public variable

TArray< uint8 >

 

Buffer

Buffer of data not yet accepted by anyone

Public variable

int32

 

BytesRequiredToResume

Number of bytes a thread is blocked, waiting to read (or zero if nobody is blocked)

Public variable

FScopedEvent &#...

 

EventToResumeWhenDataIsReady

Event to release some thread, once we have at least BytesRequiredToResume

Constructors

Name Description

Public function

FReceiveBuffer()

Constructor, sets the "nobody is waiting" state

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss