Looking on the SocketIO website, there are a few interesting options that we can pass to the io() function when we create a new connection (connection to the server, from the client).
Changing the timeout value. We could change this to longer if we want to give the client more time to connect, or to shorter if we want to see errors faster.
Changing the reconnectionDelay and reconnectionDelayMax to the same value (perhaps 500, to try to reconnect every half second) and setting the randomizationFactor to 0.
Looking on the SocketIO website, there are a few interesting options that we can pass to the io() function when we create a new connection (connection to the server, from the client).
Available options are listed at https://socket.io/docs/client-api/#new-manager-url-options.
Some things that I would suggest:
Thoughts?