SimpleTCPServerDocumentation

Send and Receive TCP Server Messages

Receive client messages

Node FunctionDescription
BindMessageHandleBind message receive delegate
UnbindMessageHandleUnbind a specific delegate
UnbindAllMessageHandleUnbind all delegates

Send to one session or broadcast to a channel

For a reply to one client, check its session identifier in the current session list. Use broadcast when every client on the channel should receive the payload. Both ends need to agree on encoding and framing.

Node FunctionDescription
SendMessageSend byte array to a specific SessionChannel
BroadcastMessageSend byte array to all connections on a channel

Client plugin and byte conversion

  • SimpleTCPClient Plugin
    A lightweight client plugin that can connect to a SimpleTCPServer instance.

  • SimpleByteConversion Plugin Enables conversion between native Unreal types (e.g., FString, float, int) and TArray<uint8>, ideal for building structured protocols.