FMultichannelTcpSocket::DataAvailable

Non-blocking test of available data.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "MultichannelTcpSocket.h"

Syntax

int32 DataAvailable
(
    uint32 Channel
)

Remarks

Non-blocking test of available data.

Can be called from any thread, but realize that if this returns > 0, another thread could steal the data.

Returns

The number of bytes in the receive buffer.

Parameters

Parameter

Description

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