FMultichannelTcpSocket::PollingReceive

Non-blocking return of available data.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "MultichannelTcpSocket.h"

Syntax

int32 PollingReceive
(
    uint8 * Data,
    int32 MaxCount,
    uint32 Channel
)

Remarks

Non-blocking return of available data.

Can be called from any thread, but realize that multiple threads hammering a channel at once is unlikely to give useful results.

Returns

The number of bytes written into Data.

Parameters

Parameter

Description

Data

The buffer to hold the results, if any.

MaxCount

the number of bytes in the receive buffer.

Channel

The channel to check.

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