title: How can I get an IP in engine.io?
body: <p>I'm using the engine.io framework for an app I'm working on and I'm having some trouble. I've been trying to get the clients IP. I'm currently using:</p>
  
  <pre><code>socket.transport.socket.upgradeReq.headers['x-forwarded-for']
  </code></pre>
  
  <p>But that only works once the user has sent an upgradeRequest, If he dosn't send and upgrade request then I can't get his IP. Is there any other alternative.<br>
  Thanks,<br>
  @_C1D</p>