Navigation
API > API/Plugins > API/Plugins/MetaHumanCaptureProtocolStack
| Name | FTcpClient |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanCaptureProtocolStack/Public/Communication/TcpClient.h |
| Include Path | #include "Communication/TcpClient.h" |
Syntax
class FTcpClient
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTcpClient() |
Communication/TcpClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTcpClient() |
Communication/TcpClient.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BufferSize | uint32 | Communication/TcpClient.h | |
| DisconnectedError | int32 | Communication/TcpClient.h | |
| TimeoutError | int32 | Communication/TcpClient.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRunning | bool | Communication/TcpClient.h | ||
| TcpSocket | FSocketPtr | Communication/TcpClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TProtocolResult< void > Init() |
Communication/TcpClient.h | ||
bool IsRunning() |
Communication/TcpClient.h | ||
TProtocolResult< TArray< uint8 > > ReceiveMessage
(
const uint64 InSize, |
Communication/TcpClient.h | ||
TProtocolResult< void > SendMessage
(
const TArray< uint8 >& InPayload |
Communication/TcpClient.h | ||
TProtocolResult< void > Start
(
const FString& InServerAddress |
Blocking function until connection is established. | Communication/TcpClient.h | |
TProtocolResult< void > Stop() |
Communication/TcpClient.h |