socket.socket.reconnect() doesn't fire the error event callback when the server refuse the connection
if a am doing: this.Socket = io.connect('http://localhost:3003'); and the connection is refused by the server, the error event callback is fired.
If the connection has been refused and i am doing again: this.Socket = io.connect('http://localhost:3003'); Nothing happens, and i rode we can configure that by using the "force new connection" option, but i also rode it aims to use different connections to the same server.
So the best way to try another time to connect the server (let's say we want to try like 10min later the first refused connection) seems to be: this.Socket.socket.reconnect(); The problem is, if the server refuse the connection once again, there is no error callback fired like the initial connection, so except if i miss something, there is no way to catch a second refused connection.