Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FMultichannelTcpSocket
Description
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.
| Name | PollingReceive |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/MultichannelTcpSocket.h |
| Include Path | #include "MultichannelTcpSocket.h" |
int32 PollingReceive
(
uint8 * Data,
int32 MaxCount,
uint32 Channel
)
The number of bytes written into Data.
Parameters
| Name | Remarks |
|---|---|
| Data | The buffer to hold the results, if any. |
| MaxCount | the number of bytes in the receive buffer. |
| Channel | The channel to check. |