From 6c7a13137e22c52ea1420ee8c5bdff3c3e07ac48 Mon Sep 17 00:00:00 2001 From: Lian Hsueh Date: Thu, 26 Jul 2012 17:52:23 +0800 Subject: [PATCH] new changes --- socket/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket/index.js b/socket/index.js index fc54a69..f2385b4 100644 --- a/socket/index.js +++ b/socket/index.js @@ -23,7 +23,7 @@ var ip, sessions, users; users = onlines.users; sessions = onlines.sessions; - console.log(socket); + console.log(socket.handshake.address); ip = socket.remoteAddress; pushOnlines(socket); socket.on('client-session', function(data) {