(JavaScript newbie)
I am trying to build a JavaScript based client app that communicates with a server app over socket. I came across socket.io. Is it possible to use socket.io without any node.js dependencies?
I have cloned socket.io github and wrote a simple client html to connect to the server (Can post the code if required). But it does not connect to the server.
(Background info: We need a simple config client utility that runs on Win32 that communicates with a custom server that supports socket communication with a custom packet-format protocol. Instead of going through the usual MFC/.NET, we think HTML/JS/CSS makes a better solution. For this purpose, I have considered the following options:
- Titanium: Works, but requires runtime to be installed
- HTML5 WebSocket: Not widely supported - works on Chrome but requires IE10
- socket.io: Trying to get it to work
- Any other? (Can post this question as separate thread, if necessary) )