rem: server = http.createServer(function (req, res) { var path = url.parse(req.url).pathname; console.log("path: " + path); if (path === '/') { path = '/html/BeagleQuadHome.html'; } 
add: io.sockets.on('connection', function (socket) { 
context: server = http.createServer(function (req, res) {    var path = url.parse(req.url).pathname;    console.log("path: " + path);    if (path === '/') {        path = '/html/BeagleQuadHome.html';    }    fs.readFile(__dirname + path, function (err, data) {        if (err) { return send404(res); }        res.write(data, 'utf8');        res.end();    });});
meta: 10965	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10965/7d0510801dadc75e82b1856b4bf667ba8da0e0bd/BeagleQuadServer.js/buggy/code/ControlTower/BeagleQuadServer.js