WebSocket Server Command Line Application for Windows, OSX and LinuxWebSocket Server Commands
Supports Full RFC6455 and widely tested by thousands of users.
Supports thousands of concurrent users.
Simple but very powerful.
Automatic recovery after a disconnection and heartbeat support.
WebSocket Server Win32
WebSocket Server Win64
WebSocket Server OSX64
WebSocket Server OSXARM64
WebSocket Server Linux64
Example: start server listening 127.0.0.1:5400
Example: start server listening 184.108.40.206:80
How send a message
Example: broadcast "This is my First Message" to all connected clients
Example: send "This is my First Message" to client with guid "HSDDU8333"
How Enable HeartBeat and WatchDog
Example: Enable heartbeat every 30 seconds.
Example: Enable watchdog every 10 seconds.
Example: Disable heartbeat
Example: Disable watchdog
All console applications can run an internal TCP Server that allows to send and receive commands as if were written directly on the console application.
Just start the application with the command -server and a new server will be started listening on port 8080. Example: if you want enable the server on WebSocket client, start the console application as follows:
Find below the full TCP Server parameters:
If the server is enabled, a client connected to this server can send any JSON message and will receive any response as if was written directly from console application.
Example: if you want enable server on IP 192.168.1.1 and Port 5412