socket.on('event', function, [CONTEXTPARAM]); A context parameter that the function is run on would be EXTREMELY helpful.