🔌Simple WebSocket Server
:websocket: Simple WebSocket Server
This asset offers a simple method for establishing a WebSocket server within Unity, enabling real-time data exchange with other tools.Ensuring real-time information exchange between Unity and another program can be complex. Yet, this asset offers a swift and uncomplicated method to enable bidirectional information exchange over websockets.
The server utilizes an event-based system to register all route handlers. Simply drag and drop the desired endpoint handler into the server.
Creating endpoint paths has been made incredibly straightforward! Each endpoint handler can have its designated path, enabling the inclusion of multiple endpoint handlers per WebSocket server.
Every endpoint handler has the capability to interact with particular clients and can also broadcast messages to all clients at once. By assigning a unique ID to each client, a distinct separation in communication with the clients can be established.
The server's speed is impressive, achieved solely through native implementations. External libraries were intentionally omitted during development to guarantee this exceptional performance.
The event-based architecture enables the concurrent operation of numerous servers across various ports simultaneously.
Within the Listening Addresse section, you can not only choose the port for listening but also determine the server's accessibility, whether it's available on the home network or restricted to the same computer.
Get it now
Use the Simple WebSocket Server from Shadow Grove Games on your next project. Find this utility tool & more on the Unity Asset Store.
