title: Socket.IO Emit is emitting to all clients
body: <p>So I'm writing an app in NodeJS, and to preface my question please understand how my setup currently works:</p>
  
  <p>I have Clients who connect via Socket.io to "Server X", and then my "Server X" connects via Socket.io to "Server Y", and they all send data back to each other via Socket.io.</p>
  
  <p>Client &lt;---> Server X &lt;---> Server Y</p>
  
  <p>Clients refer to users and their browsers, and then I have a node app running on both my server x and my server y. </p>
  
  <p>So in the code below on my Server X, if you look at line 4 it works exactly as it should. It emits the message ONLY to the client who requested it.</p>
  
  <pre><code>io.on('connection', function(socket){
  
      // This works just fine.
      socket.emit('return_login', 'Test Message');
  
      socket.on('login', function(data){
          // This line correctly sends the data to Server Y
          server_y.emit('login', data);
      });
  
      server_y.on('return_login', function(data){
          // This emits to all connected clients???
          socket.emit('return_login', data);
      });
  
  });
  </code></pre>
  
  <p>Now my problem is when "Server Y" emits <code>return_login</code> to server x, what I want to happen is for server x to take the value emitted by server y and just send it back to the original client, or web browser. But for some reason that line emits to ALL connected clients.</p>
  
  <p>I have a laptop, this computer and my phone all testing this and every time that emit happens it sends to EVERYONE.</p>
  
  <p>If someone could please help me with this I would greatly appreciate it. If I need to post more code please let me know.</p>