Overview
QuickTCP provides QuickTCP Client and QuickTCP Server components you add to any actor. The client connects to a remote endpoint; the server listens for inbound connections. Both stream raw bytes and optional length-prefixed messages, and surface everything through game-thread Blueprint events.
Fork note Module
TCPWrapper was renamed to QuickTCP for UE 4.27–5.0+; v2.x added reconnect/backoff, message framing, keep-alive, drop detection and the function-library helpers below.Requirements
| Requirement | Details |
|---|---|
| Unreal Engine | 4.27–5.0+ |
| Language | Blueprints and/or C++ |
| Platforms | Win64 · Mac · Linux |
Installation
- Copy the
QuickTCPfolder into your project'sPlugins/directory. - C++ projects: regenerate project files and build. Blueprint-only projects can launch the editor directly.
- Open Edit → Plugins and confirm QuickTCP is enabled.
Client component
| Node | Type | Description |
|---|---|---|
| Connect | Callable | Connect to host:port (optional auto-reconnect with exponential backoff). |
| Disconnect | Callable | Close the client connection. |
| Emit Bytes / Emit String | Callable | Send a raw byte array or UTF-8 string. |
| Emit Message / Emit Message String | Callable | Send a length-prefixed framed message (when framing is enabled). |
| On Connected / On Disconnected | Event | Connection lifecycle. |
| On Received Bytes / On Received Message | Event | Inbound raw bytes or a complete framed message. |
| On Connection Error / On Reconnect Attempt | Event | Error and reconnect notifications. |
| Get Connection Duration Seconds | Pure | Seconds since the current connection was established. |
Server component
| Node | Type | Description |
|---|---|---|
| Start Listen Server | Callable | Begin listening on a port for inbound clients. |
| Emit To Clients / Emit Message To Clients | Callable | Send bytes/framed message to a subset of connected clients. |
| Get Connected Clients | Pure | List currently connected client ids. |
Helpers (QuickTCP Function Library)
| Node | Type | Description |
|---|---|---|
| String To Bytes / Bytes To String | Pure | UTF-8 conversions. |
| Bytes To Hex / Hex To Bytes | Pure | Hex encode / decode. |
| Base64 Encode / Base64 Decode | Pure | Base64 round-trip. |
| Concat Bytes | Pure | Append two byte arrays. |
| Is Valid IPv4 | Pure | Validate a dotted IPv4 address. |
| Parse Endpoint | Pure | Split host:port into host + port. |
Utility node pack
General-purpose networking utilities added to UQuickTCPFunctionLibrary — available from Blueprints and C++.
| Node | Type | Description |
|---|---|---|
| CRC32 Of Bytes | Pure | CRC32 checksum of a byte array. |
| MD5 Of String / SHA1 Of String | Pure | Hex digests of a UTF-8 string. |
| Make Guid String | Pure | New random GUID (hyphenated). |
| Now Unix Seconds | Pure | Current UTC time as Unix seconds. |
| Unix Seconds To ISO8601 | Pure | Unix seconds → ISO-8601 UTC string. |
| Format Byte Size | Pure | Human-readable size, e.g. 1536 → 1.5 KB. |
| Random Token | Pure | Random alphanumeric token (ids, nonces). |
| XOR Bytes With Key | Pure | XOR bytes with a repeating key (obfuscation, not encryption). |
| Is Valid Hostname | Pure | RFC-952/1123-style hostname validation. |
Notes
TCP is a stream Without framing, one event can carry partial or multiple logical messages. Enable message framing, or length-prefix your data yourself.
Credits
© Alpha XP — alphaxp.net. Developed and maintained for UE 4.27–5.0+.
