Navigation
API > API/Plugins > API/Plugins/MetaHumanCaptureProtocolStack
| Name | FTcpServer |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanCaptureProtocolStack/Public/Communication/TcpServer.h |
| Include Path | #include "Communication/TcpServer.h" |
Syntax
class FTcpServer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTcpServer
(
const uint32 InMaxNumberOfClients |
Communication/TcpServer.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FConnectionHandler | TBaseDelegate_TwoParams< void, TWeakPtr< FTcpClientHandler > InClient, bool bConnected > | Communication/TcpServer.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AnyPort | uint16 | Communication/TcpServer.h | |
| ThreadWaitTime | uint32 | Communication/TcpServer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRunning | bool | Communication/TcpServer.h | ||
| Clients | TMap< FString, TSharedPtr< FTcpClientHandler > > | Communication/TcpServer.h | ||
| Listener | TUniquePtr< FTcpListener > | Communication/TcpServer.h | ||
| MaxNumberOfClients | uint32 | Communication/TcpServer.h | ||
| Mutex | FRWLock | Communication/TcpServer.h | ||
| OnConnectionHandler | FConnectionHandler | Communication/TcpServer.h | ||
| Socket | FSocketPtr | Communication/TcpServer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DisconnectClient
(
const FString& InEndpoint |
Communication/TcpServer.h | ||
void DisconnectClientAsync
(
const FString& InEndpoint |
Communication/TcpServer.h | ||
int32 GetPort() |
Communication/TcpServer.h | ||
| Communication/TcpServer.h | |||
void SetConnectionHandler
(
FConnectionHandler InOnConnectionHandler |
Communication/TcpServer.h | ||
TProtocolResult< uint16 > Start
(
const uint16 InListenPort |
Communication/TcpServer.h | ||
TProtocolResult< void > Stop() |
Communication/TcpServer.h |