Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 27th, 2012  |  syntax: None  |  size: 0.14 KB  |  views: 64  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. var io = require('socket.io').listen(7000);
  2.  
  3. io.sockets.on('connection', function(socket) {
  4.         console.log("### new connection ###");
  5. });
clone this paste RAW Paste Data