Browse files

Fixing bug...

  • Loading branch information...
1 parent 5a8f66b commit c0d19418ade0729f71183f247afd16a88ffa2cc7 @DanBUK committed Feb 2, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 socket-demo.js
View
3 socket-demo.js
@@ -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,

0 comments on commit c0d1941

Please sign in to comment.