In the sendMessage function, I am using socket.emit(\'private\', msg) to send the message. On the server side, I would like to display a message in
sendMessage
socket.emit(\'private\', msg)