Id say, there would need to be configurable parameters, like time to
reconnect, number of reconnect attempts, and a reconnect counter so
the user knows how many times it disconnected.

On Fri, Oct 28, 2016 at 3:17 PM, Sean M. Pappalardo - D.J. Pegasus
<spappala...@mixxx.org> wrote:
> Hello.
>
> Would it be a violation of any rules if we auto-reconnect immediately
> unless we've been disconnected more than 5 times in 10 seconds? (I'm
> assuming rapid repeated disconnection means the server is doing so
> intentionally.) If that happens, warn the user somehow and don't try to
> reconnect.
>
> When a server disconnects a source, does it return any sort of error
> code we can check?
>
> Sincerely,
> Sean M. Pappalardo
> "D.J. Pegasus"
> Mixxx Developer - Controller Specialist
>
>
> ------------------------------------------------------------------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to