is there any way to run socketio as a client(not a browser, but a nodejs script)
I need to broadcast data from a server to some clients (browsers) and to another linux machine (only running nodejs to get variables, no browser)
Any ideias is welcome
Regards
I believe you could just use socket.io-client. require that and use that in your node.js code as would in the client/browser. I also found this interesting tutorial right now => http://liamkaufman.com/blog/2012/01/28/testing-socketio-with-mocha-should-and-socketio-client/