How to run

npm install
node index.js

Then open multiple browses and visit http://localhost:3000:

  1. Give a speicifed channel name in the top
  2. type any message in the bottom text fields

If two browsers use the same channel, they will see the message broadcasted.

Reference

  1. http://socket.io/get-started/chat/