WebSocket Server Command Line Application for Windows, OSX and Linux
WebSocket Server CommandsSupports 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.
sgcWebSocketServer Win32
WebSocket Server Win32
sgcWebSocketServer Win64
WebSocket Server Win64
sgcWebSocketServer OSX64
WebSocket Server OSX64
sgcWebSocketServer OSXARM64
WebSocket Server OSXARM64
sgcWebSocketServer Linux64
WebSocket Server Linux64
Start serverExample: start server listening 127.0.0.1:5400
Example: start server listening 93.84.14.55:80
|
How send a messageExample: 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 WatchDogExample: Enable heartbeat every 30 seconds.
Example: Enable watchdog every 10 seconds.
Example: Disable heartbeat
Example: Disable watchdog
|
Stop server
|
TCP ServerAll 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
|