Skip to content

Instantly share code, notes, and snippets.

@joshkehn
Created August 5, 2011 15:06
Show Gist options
  • Save joshkehn/1127728 to your computer and use it in GitHub Desktop.
Save joshkehn/1127728 to your computer and use it in GitHub Desktop.
WebSocket - Part 9
var sys = require("sys"),
ws = require('./lib/ws');
var server = ws.createServer();
intervals = {};
server.addListener("listening",
function()
{
sys.log("Listening for connections.");
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment