title: How to use ExpressJS and Socket.io on a same port?
body: <p>In the third version of ExpressJS <em>express.createServer()</em> changed to <em>express()</em> this changes makes difficult to bind socket.io on a same port. Maybe somebody could find robust decision.</p>
  
  <p>Now, this doesn't work:</p>
  
  <pre><code>var express = require('express')
  , app = express.createServer()
  , io = require('socket.io').listen(app);
  </code></pre>
  
  <p>My current workflow: <a href="https://gist.github.com/3596852" rel="noreferrer">https://gist.github.com/3596852</a></p>