Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FMultichannelTcpSocket
Description
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.
| Name | DataAvailable |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/MultichannelTcpSocket.h |
| Include Path | #include "MultichannelTcpSocket.h" |
int32 DataAvailable
(
uint32 Channel
)
The number of bytes in the receive buffer.
Parameters
| Name | Remarks |
|---|---|
| Channel | The channel to check. |