SimpleTCPClientDocumentation

Configure and Manage TCP Client Connections

Predefine a channel in Project Settings

Add client channels under Project Settings → SimpleTCPClient Settings. Give each target its own channel name, then use that name to refer to the connection in Blueprint.

Channel parameters

FieldExampleDescription
Channel NameDefaultClientName used in Blueprint to reference channel
Remote Address (IP:Port)127.0.0.1:8888The target address to connect
Auto ConnectTrueWhether to auto-connect on startup
Auto Reconnect Interval1.0 (seconds)Interval between reconnection attempts
Max Receive Bytes1024Max size per receive

Manage channels in Blueprint

Node FunctionDescription
StartConnectionManually start a connection (for non-auto channels)
StopConnectionStop and destroy the socket
IsConnectedCheck whether a channel is currently connected
UpdateTCPClientConfigCreate or update channel config (auto reconnects)
GetTCPClientConfigGet the current configuration of a channel

Connection limits and socket lifecycle

Use an IPv4 address. The plugin does not support hostnames, IPv6, or encryption. The plugin manages each channel’s socket.

TypeCreated WhenDestroyed When
Client SocketWhen calling StartConnection or autoWhen calling StopConnection or shutdown

Connection node overview

For a manual connection, make sure the target service is listening and pass the channel name from the table to StartConnection. Check the same channel with IsConnected. Test message exchange once the connection is up.

ShowAllFunction

Start and stop a connection manually

Connection
Note: If the channel is set to auto-connect and has a reconnect interval configured, manual startup is not required.

Update configuration and reconnect

DynamicUpdateChannel
Note: The message delegate remains valid across socket reconnections. The update order does not matter — once config is updated, callbacks will still be triggered.

Use separate channels for different ports and application functions. The plugin handles communication asynchronously to avoid blocking the game thread and provides reconnection controls. The two ends must agree on whether to resend messages, log in again, or synchronize application state after reconnecting.