SocketIO Client Command Line Application for Windows, OSX and Linux64
Socket.IO Client CommandsSocket.IO is a JavaScript library for realtime web applications. It enables realtime, bi-directional communication between web clients and servers. It has two parts: a client-side library that runs in the browser, and a server-side library for Node.js. Both components have a nearly identical API. Like Node.js, it is event-driven.
Client component supports APIs: 0.*, 1.* and 2.*
Socket.IO Client Win32
SocketIO Client Win32
Socket.IO Client Win64
SocketIO Client Win64
Socket.IO Client OSX64
SocketIO Client OSX64
Socket.IO Client OSXARM64
SocketIO Client OSXARM64
Socket.IO Client Linux64
SocketIO Client Linux64
How Open a new Socket.IO ConnectionExample: open a websocket connection to Socket.IO server
|
How send a messageExample: invoke "add user" method
|
How close 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
|