Socket.IO-Examples


I wrote these examples for just learning Socket.IO. It support socket.io v1.0+. There are two examples. One uses node.js http server. Another uses express 4 server.

You can see this demo in here. The design is from socket.io official website.

Start an application

Install npm dependencies.

$ npm install

To run an example using node.js http server:

$ bin/http

To run an example using express 4 server:

$ bin/express