I was trying to learn node and started creating a mashup with socket.io The message transportation have begin but I have run into some trouble.
The message event is
Restarting the server can be responsible for several identical event listeners on the client side. If the client has not reloaded (restarted) you have to make sure that the old event listeners are deleted on the client side when establishing a new connection. You can do that with
io.socket.removeAllListeners()