![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MultichannelTcpSender.h>
Inheritance diagram for FMultichannelTcpSender:Public Member Functions | |
| FMultichannelTcpSender (FSocket *InSocket, const FOnMultichannelTcpOkToSend &InOkToSendDelegate) | |
| ~FMultichannelTcpSender () | |
| void | AttemptResumeSending () |
| int32 | GetBytesSent () |
| void | Send (const uint8 *Data, int32 Count, uint32 Channel) |
| virtual bool | Init () |
| virtual uint32 | Run () |
| virtual void | Stop () |
| virtual void | Exit () |
Public Member Functions inherited from FRunnable | |
| virtual class FSingleThreadRunnable * | GetSingleThreadInterface () |
| virtual | ~FRunnable () |
Protected Member Functions | |
| void | AttemptResumeSendingInternal () |
Implements a sender for multichannel TCP sockets.
|
inline |
Creates and initializes a new instance.
| InSocket | The socket to send to. |
| InOkToSendDelegate | Delegate to ask if it is ok to send a packet. |
|
inline |
Destructor.
|
inline |
Call when bandwidth tests should be retried, possibly sending data if there is available bandwidth.
|
inlineprotected |
Internal call similar to AttemptResumeSending, but does not do the requisite lock.
|
inline |
Gets the number of payload bytes actually sent to the socket.
Sends data through the given channel.
This method does not block on bandwidth and never fails.
| Data | The buffer containing the data to send. |
| Count | The number of bytes to send from the buffer. |