on the server side i got
socket.on(\'chat\', function (data) { io.sockets.socket(data.clientid).emit(\'chat\', { msg: data.msg, senderid : se
I'd suggest sending over a username (make sure it's unique) and keeping an object of client ids associated with usernames in memory.