Skip to content

Commit

Permalink
Merge branch 'master' of github.com:LearnBoost/socket.io
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Aug 29, 2011
2 parents 1364707 + 4c9414c commit 23ba929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Besides `connect`, `message` and `disconnect`, you can emit custom events:
var io = require('socket.io').listen(80);

io.sockets.on('connection', function (socket) {
io.sockets.emit('this', { will: 'be received by everyone');
io.sockets.emit('this', { will: 'be received by everyone' });

socket.on('private message', function (from, msg) {
console.log('I received a private message by ', from, ' saying ', msg);
Expand Down

0 comments on commit 23ba929

Please sign in to comment.