title: Send message to specific client with socket.io and node.js
body: <p>I'm working with socket.io and node.js and until now it seems pretty good, but I don't know how to send a message from the server to an specific client, something like this:</p>
  
  <pre><code>client.send(message, receiverSessionId)
  </code></pre>
  
  <p>But neither the <code>.send()</code> nor the <code>.broadcast()</code> methods seem to supply my need.</p>
  
  <p>What I have found as a possible solution, is that the <code>.broadcast()</code> method accepts as a second parameter an array of SessionIds to which not send the message, so I could pass an array with all the SessionIds connected at that moment to the server, except the one I wish send the message, but I feel there must be a better solution.</p>
  
  <p>Any ideas?</p>