rem: socket.on('controllerButtonEvent', function (key, value) {  writeToFile(key+":"+value);  
add: socket.on('disconnect', function () { console.log("Connection " + socket.id + " terminated."); connectCount--; console.log("connectCount = " + connectCount); 
context:     socket.on('controllerButtonEvent', function (key, value) {  //      	console.log("controllerButtonEvent: button:" + key + " value:" + value);		writeToFile(key+":"+value);	    // pick off which value was sent via switch case and write to file    });
meta: 10965	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10965/7d0510801dadc75e82b1856b4bf667ba8da0e0bd/BeagleQuadServer.js/buggy/code/ControlTower/BeagleQuadServer.js