FMultichannelTcpSocket::BlockingReceive

Block until data is available to receive.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "MultichannelTcpSocket.h"

Syntax

int32 BlockingReceive
(
    uint8 * Data,
    int32 Count,
    uint32 Channel
)

Remarks

Block until data is available to receive.

Can be called from any thread, but not multiple threads for one channel at once.

Parameters

Parameter

Description

Data

The buffer to fill.

Count

The number of bytes to receive.

Channel

The channel to receive on.

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