Skip to content

Instantly share code, notes, and snippets.

@aesnyder
Created April 2, 2014 00:47
Show Gist options
  • Save aesnyder/9925995 to your computer and use it in GitHub Desktop.
Save aesnyder/9925995 to your computer and use it in GitHub Desktop.
app = express()
server = http.createServer app
io = require('socket.io').listen(server)
server.listen process.env.PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment