Skip to content

Instantly share code, notes, and snippets.

@joshkehn
Created August 5, 2011 15:08
Show Gist options
  • Save joshkehn/1127730 to your computer and use it in GitHub Desktop.
Save joshkehn/1127730 to your computer and use it in GitHub Desktop.
WebSocket - Part 10
// Handle WebSocket Requests
server.addListener("connection",
function(conn)
{
conn.send("Connection: "+conn.id);
sys.log("Connection found: " + conn.id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment