Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing bug...

  • Loading branch information...
commit c0d19418ade0729f71183f247afd16a88ffa2cc7 1 parent 5a8f66b
Daniel Bartlett authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  socket-demo.js
3  socket-demo.js
View
@@ -8,7 +8,8 @@ var server = http.createServer(function (req, res) {
if (err) res.end(err.toString());
else res.end(data);
});
-}).listen(8051);
+});
+server.listen(8051);
var socket = io.listen(server, {
flashPolicyServer: false,
Please sign in to comment.
Something went wrong with that request. Please try again.