Open
Description
On initial connection using socket.connect:
- Socket is connected
- Receives all events.
- If the server goes down, then the socket keeps on trying to reconnect and gets connected as soon as the server is back up.
Everything looks fine till here. Now closed socket using socket.disconnect() and connected back using socket.connect(), I see the following behavior:
- Socket is connected
- Receives all events.
- If the server goes down, then the socket does not try to reconnect and instead a disconnect event is received.
I also tried enabling 'ForceNew' option and still doesn't help.