What\'s the difference between these two?
I noticed that if I changed from socket.emit to socket.send in a working program, the server fail
socket.emit
socket.send
socket.send is implemented for compatibility with vanilla WebSocket interface. socket.emit is feature of Socket.IO only. They both do the same, but socket.emit is a bit more convenient in handling messages.