title: How to uniquely identify a socket with Node.js
body: <p>TLDR; How to identify sockets in event based programming model.</p>
  
  <p>I am just starting up with node.js , in the past i have done most of my coding 
  part in C++ and PHP sockets() so node.js is something extremely new to me.</p>
  
  <p>In c++ to identify a socket we could have done something like writing a main socket say server to listen for new connections and changes, and then handling those connections accordingly.</p>