I am writing an application for a router which simply connects it to a VPN. If for some reason the connection fails, the application will attempt to acquire a new socket and reset the connection.
My question is, how long is a reasonable interval time between retries? Furthermore, is there a certain amount of retries which should take place before the router gives up altogether?
Sorry if this is the wrong exchange but it seems the most appropriate.