Skip to content

Instantly share code, notes, and snippets.

@3rd-Eden
Created October 12, 2010 17:14
Show Gist options
  • Save 3rd-Eden/622549 to your computer and use it in GitHub Desktop.
Save 3rd-Eden/622549 to your computer and use it in GitHub Desktop.
// our configuration object
var useragent = require("./vendor/useragent"),
Studio = require("./studio"),
recording = {},
online = {};
module.exports = function ioConnector( socket, db ){
// basic setup for socket.io connections
socket.on('connection', function(client){
// Start receiving messages from this client
client.on('message', function( msg ){
});
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment