Skip to content

Instantly share code, notes, and snippets.

@objectiveSee
Created May 28, 2013 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save objectiveSee/5665347 to your computer and use it in GitHub Desktop.
Save objectiveSee/5665347 to your computer and use it in GitHub Desktop.
// bootstrap!
require('../lib/globals.js');
(function() {
var HttpServer = require('../lib/http_server.js');
var SocketServer = require('../lib/socket_server.js');
var h = new HttpServer();
var s = new SocketServer();
h.listen(1122);
s.listen(h._http);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment