FMultichannelTcpReceiver

Implements a receiver for multichannel TCP sockets.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRunnable

FMultichannelTcpReceiver

References

Module

Sockets

Header

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

Include

#include "MultichannelTcpReceiver.h"

Syntax

class FMultichannelTcpReceiver : public FRunnable

Remarks

Implements a receiver for multichannel TCP sockets.

Constructors

Name Description

Public function

FMultichannelTcpReceiver

(
    FSocket* InSocket,
    const FOnMultichannelTcpReceive& I...
)

Creates and initializes a new instance.

Destructors

Name Description

Public function

~FMultichannelTcpReceiver()

Destructor.

Functions

Name Description

Public function

int32

 

GetBytesReceived()

Gets the number of payload bytes actually sent to the socket.

Overridden from FRunnable

Name Description

Public function Virtual

void

 

Exit()

Exits the runnable object.

Public function Virtual

bool

 

Init()

Initializes the runnable object.

Public function Virtual

uint32

 

Run()

Runs the runnable object.

Public function Virtual

void

 

Stop()

Stops the runnable object.

This is called if a thread is requested to terminate early.