Thanks for the reply. In the case of a connection error, miniz closes itself after some tries for the re-connection. Almost all well-know miners have these parameters. By increasing the number of retries and also increasing the timeout, the miner remains open if a connection error occurs. Please take a look at Claymore:
https://bitcointalk.org/index.php?topic=1433925.0Hi Asusrogmining,
The miner does not exit, it only stops mining if cannot establish connection and only until it reconnects.
It continuously tries 3 times and then waits a few seconds before another 3x series.
We'll have a look and see how to implement these as parameters for user to set.
Thanks for the suggestion.
Cheers