title: How to send private message (emit) from socket.io-redis
body: <p>I am developing a real time application using Node.js, Socket,io, Redis. I try to send a private message to one client from worker, but it does not work. Array <strong>io.sockets.connected</strong> on worker is empty and i can't refer to the client.</p>
  
  <p>Code on master:</p>
  
  <pre><code>var io = require('socket.io')(30042); //socket.io(&lt;port&gt;) will create a http server
  var redis = require('socket.io-redis');
  io.adapter(redis({ host: 'localhost', port: 6379 }));
  io.on('connection', function (socket) {
      io.sockets.connected[socket.id].adapter.remoteJoin(socket.id, 'new_room', function  (err) {});
  });
  </code></pre>
  
  <p>Code on worker:</p>
  
  <pre><code>var SocketIO = require('socket.io');
  var redis = require('socket.io-redis');
  io = new SocketIO(); //start redis socket-io
  io.adapter(redis({host: 'localhost', port: 6379})); // where your redis server is located
  
  //send to all users in room - works perfectly
  io.to('new_room').emit('chat message', 'Test global msg from worker');
  
  //????
  //dont work - io.sockets.connected is empty
  io.sockets.connected['socket_id_from_master'].emit('chat message', 'Test private msg from worker');
  </code></pre>
  
  <p>What am I doing wrong?</p>