Easy Asset Search

Socket.IO V4 Client PLUS (Standalone & WebGL)

Socket.IO V4 Client PLUS enables easy communication with socket.io powered backends, supporting namespaces, binary messages, and acknowledgements.
Socket.IO V4 Client PLUS (Standalone & WebGL) Asset Image Socket.IO V4 Client PLUS enables easy communication with socket.io powered backends, supporting namespaces, binary messages, and acknowledgements.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost.
$29.99
Category:
ToolsNetwork
Developer:
Firesplash Entertainment
Price:
$29.99
Rating:
(8 reviews)
Favorites:
31
Supported Unity Versions:
2021.3.36 or higher
Current Version:
1.4.0
Download Size:
1.84 MB
Last Update:
Aug 7, 2024
Description:
This package provides a comprehensive Socket.IO V4 client for Unity, supporting both Standalone and WebGL builds. It offers a range of features, including:

* Support for multiple connections and instances
* Automatic reconnect on connection drop
* Changing the server-side path
* Inverted Ping for a more reliable connection
* Developed and tested under Unity 2021.3 LTS, with support for newer and older versions
* Includes full source code and a sample project

The PLUS version adds additional features, such as:
* Connection multiplexing (namespaces)
* Binary payloads
* Acknowledgements (duplex messaging)
* Sending authentication handshake data to the server
* Raising reconnect delays
* Identical protocol implementation in WebGL and native mode
* Redesigned Watchdog for detecting websocket disconnects
* Support for simple and complex messages
* Events with multiple payloads

This asset requires Json.Net, which is included in Unity from 2021+ or can be installed in older versions. It only supports the websocket transport and does not support Long-Polling. The implementation is a complete rewrite and is being tested on WebGL, Windows, and Editor. It should work on any common platform, but may contain undiscovered bugs.
Technical Details:
This package has the following advantages over other Socket.IO assets:

* Supports Standalone and WebGL builds
* Supports multiple connections/instances
* Uses the newer JSLib implementation for WebGL-Support
* Supports most important events like connect, disconnect, connect_error, reconnect_attempt, ...
* Supports automatic reconnect on connection drop
* Supports changing the server-side path
* Uses inverted Ping
* Developed and tested under Unity 2021.3 LTS
* Includes full source code
* Includes a sample project

The PLUS version adds the following features:

* Connection multiplexing (namespaces)
* Binary payloads
* Acknowledgements (duplex messaging)
* Sending authentication handshake data to the server
* Raising reconnect delays
* Identical protocol implementation in WebGL and native mode
* Redesigned Watchdog for detecting websocket disconnects
* Support for simple and complex messages
* Events with multiple payloads
* Completely rewritten implementation
Continue »

Similar Packages