Here you can see it in action. Send Event button from JET – sends message through Socket.IO to Node.js server side. Message is handled on server side and response is sent back to client (displayed in browser console):
Server side part with Socket.io is implemented in Node.js application and it runs on Express. To create Node.js application (which is just one json file in the beginning), run command:
To add Express and Socket.io, run commands: Read the complete article here.
View original post 37 more words