Added log in socket

This commit is contained in:
Thomas FORGIONE 2015-07-02 14:37:07 +02:00
parent 173b877dbf
commit 29b7760bec
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ var geo = require('./lib/geo.min.js');
module.exports = function(io) {
io.on('connection', function(socket) {
console.log('[SOK] ' + new Date() + ' ' + socket.conn.remoteAddress);
var streamer = new geo.MeshStreamer();
streamer.start(socket);