mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-13 17:07:54 -05:00
Added a few periods and commas which were missing. Also added the word each to clarify how multiple users each enter a unique username. Very minor edit. No source code changed.
Socket.IO Chat
A simple chat demo for socket.io
How to use
$ cd socket.io
$ npm install
$ cd examples/chat
$ npm install
$ node .
And point your browser to http://localhost:3000. Optionally, specify
a port by supplying the PORT env variable.
Features
- Multiple users can join a chat room by each entering a unique username on website load.
- Users can type chat messages to the chat room.
- A notification is sent to all users when a user joins or leaves the chatroom.