Web Sockets with Socket.IO And Node.JS

Socket.io provides an web socket infrastructure using Node.JS.It can be installed using Node Package Manger(NPM) by issuing npm -g install socket.io.You can check my previous post to install Node in your machine.In this Demo, "We will crate a simple Web Socket which will write my name on the socket and the client will read it and render it on the browser".The code for web socket server is present in MyNameSocketServer.js file and listed belowvar io = require('socket.io').listen(80);

io.so...
 •  0 comments  •  flag
Share on Twitter
Published on May 02, 2014 12:49
No comments have been added yet.