Navigation
Unreal Engine C++ API Reference > Runtime > Sockets
Inheritance Hierarchy
- FRunnable
- FMultichannelTcpSender
References
Module | Sockets |
Header | /Engine/Source/Runtime/Sockets/Public/MultichannelTcpSender.h |
Include | #include "MultichannelTcpSender.h" |
Syntax
class FMultichannelTcpSender : public FRunnable
Remarks
Implements a sender for multichannel TCP sockets.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FMultichannelTcpSender
(
FSocket* InSocket, |
Creates and initializes a new instance. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Call when bandwidth tests should be retried, possibly sending data if there is available bandwidth. | |
![]() |
void | Internal call similar to AttemptResumeSending, but does not do the requisite lock. | |
![]() |
int32 | GetBytesSent () |
Gets the number of payload bytes actually sent to the socket. |
![]() |
void | Send
(
const uint8* Data, |
Sends data through the given channel.This method does not block on bandwidth and never fails. |
Overridden from FRunnable
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Exit () |
Exits the runnable object. |
![]() ![]() |
bool | Init () |
Initializes the runnable object. |
![]() ![]() |
uint32 | Run () |
Runs the runnable object. |
![]() ![]() |
void | Stop () |
Stops the runnable object.This is called if a thread is requested to terminate early. |
Constants
Name | Description |
---|---|
MaxPacket | Defines the maximum payload size per packet (in bytes). |