Permalink
Browse files

Added missing .connect() to example

  • Loading branch information...
1 parent 3c76d73 commit e57e27ee438c28ddbf0ae0c703e651aa1d152217 @rauchg rauchg committed Dec 24, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
View
1 README.md
@@ -59,6 +59,7 @@ On the client:
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = new io.Socket();
+ socket.connect();
socket.on('connect', function(){ … })
socket.on('message', function(){ … })
socket.on('disconnect', function(){ … })

0 comments on commit e57e27e

Please sign in to comment.