Free City Park Environment Collection now available

TCP Socket Plugin

SpartanTools - May 14, 2019
19
4.53 out of 5 stars(19 ratings)
  • 84%
  • 5%
  • 0%
  • 0%
  • 11%

TCP Socket Plugin - Client Only

  • Supported Platforms
  • Supported Engine Versions
    4.22 - 4.25
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

TCP Socket Plugin facilitates communication with a TCP server purely in blueprints. Client-only functionality.


The project is open source, you're welcome to contribute on github.



Usage

Create a blueprint actor inheriting from TcpSocketConnection, drop it into level and use it.

For C++ usage example, see github page.

Technical Details

Features:

  • Supports multiple connections
  • Multi-threading: each connection runs on its own thread
  • Detects disconnects as soon as they happen
  • Even dispatchers: OnConnected, OnDisconnected (also triggers when connection fails), OnMessageReceived
  • Serialize and deserialize basic types: Uint8, Int32, Float, String

Code Modules: TcpSocketPlugin (Runtime)

Intended Platforms: All platforms that support sockets and multi-threading, which is most of them, except HTML5.

Tested Platforms: Windows