mengzhishanghun - SimpleTCPServer

# ๐Ÿ”Œ SimpleTCPServer โ€” Lightweight & Blueprint-Friendly TCP Server Plugin for Unreal Engine


SimpleTCPServer is a lightweight and modular TCP server plugin built for Unreal Engine.  

It provides full Blueprint support, session-based communication, multi-channel configuration, and is ideal for server-side use cases requiring reliable TCP communication.


---


## โœจ Features


- ๐ŸŸฆ Fully Blueprint-Compatible โ€” All functions are exposed to Blueprints, no C++ required  

- ๐ŸŒ Multi-Channel Listening โ€” Listen on multiple TCP ports simultaneously with custom settings  

- ๐Ÿ” Per-Client Session Management โ€” Track connections using session keys (`IP:Port`)  

- โš™๏ธ Centralized Settings Management โ€” Configure static server channels via Project Settings  

- ๐Ÿงต Multithreaded Accept & Receive โ€” Async background threads for non-blocking IO  

- ๐Ÿ“ฆ Clean & Modular Design โ€” Self-contained plugin, easily integrated into any project  

- ๐Ÿšซ Automatic Resource Cleanup โ€” Sessions and sockets are properly closed on disconnect  

- ๐Ÿ”„ Runtime Channel Update โ€” Add, update, or restart channels dynamically during gameplay  

- ๐Ÿ“ง Event-Driven Architecture โ€” Blueprint delegates for message handling and connection state  


---


## ๐Ÿ“ฆ Typical Use Cases


- Hosting a TCP server in Unreal to receive connections from remote clients  

- Working with simulators, custom software, or game clients over LAN  

- Handling real-time control, streaming, or command protocols  

- Ideal for server-authoritative architectures in multi-device environments  


---


## ๐Ÿ”ง Recommended Companion Plugins


- ๐Ÿ”Œ SimpleTCPClient  

  Lightweight TCP client plugin for Unreal Engine. Supports auto-reconnect, multi-channel, and Blueprint control.  

  Perfect for communicating with SimpleTCPServer on the client side.


- ๐Ÿงฉ SimpleByteConverter  

  Provides native type and struct conversion to/from `TArray<uint8>`.  

  Useful for defining structured protocols for your TCP messages.


---


## ๐Ÿ“˜ Documentation


```

./Docs/README.md      # Main tutorial and Blueprint examples

```


---


## ๐Ÿ“ฌ Contact


For support, feature requests, or business inquiries:


๐Ÿ“ง mengzhishanghun@outlook.com


---


## ๐Ÿ›ก๏ธ Notes


- โŒ Domain name resolution is not supported (use raw IP addresses only)  

- โŒ IPv6 is not supported