title: Socket.io how to get id?
body: <p>How to get Id (unical key) from server (socket.io)?</p>
  
  <p>i tired with <code>clients[socket.id] = socket;</code> </p>
  
  <p>but i get error </p>
  
  <pre><code> connections property is deprecated. use getconnections() method
  </code></pre>
  
  <p>Any Idea?</p>