WebSocket Client Command Line Application for Windows, OSX and Linux
WebSocket Client CommandsSupports Full RFC6455 and widely tested by thousands of users.
Supports secure websocket connections without external libraries (OSX and Linux requires openssl 1.0.2)
Simple but very powerful.
Automatic recovery after a disconnection and heartbeat support.
sgcWebSocketClient Win32
WebSocket Client Win32
sgcWebSocketClient Win64
WebSocket Client Win64
sgcWebSocketClient OSX64
WebSocket Client OSX64
sgcWebSocketClient OSXARM64
WebSocket Client OSXARM64
sgcWebSocketClient Linux64
WebSocket Client Linux64
How Open a new WebSocket ConnectionExample: open a websocket connection to echo.websocket.org
Example: open a secure websocket connection to echo.websocket.org
|
How Send a Text messageExample: send a message to server "This is my First Message"
Example: broadcast a message to all connected clients
|
How Enable HeartBeat and WatchDogExample: Enable heartbeat every 30 seconds.
Example: Enable watchdog every 10 seconds.
Example: Disable heartbeat
Example: Disable watchdog
|
Close ConnectionExample: close connection
Example: restart connection
|
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
|