Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added missing .connect() to example

  • Loading branch information...
commit e57e27ee438c28ddbf0ae0c703e651aa1d152217 1 parent 3c76d73
Guillermo Rauch rauchg authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  README.md
1  README.md
View
@@ -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(){ … })
Please sign in to comment.
Something went wrong with that request. Please try again.