<div dir="ltr">Not directly.  What I've done in the past is set a watchdog timer to a multiple of the ReconnectInterval.  If the timer expires, throw an error / exit.  If an OnLogon callback happens, cancel the timer.  If an OnLogout callback happens, restart the timer.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny<br>Connamara Systems, LLC</font></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 10, 2016 at 11:58 AM, <a href="mailto:saf@post.com">saf@post.com</a> <span dir="ltr"><<a href="mailto:saf@post.com" target="_blank">saf@post.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Is there any way to set the number of connection attempts, or at least to catch a failed connection attempt?<br>
Thanks,<br>
Alex<br>
<br>
______________________________<wbr>_________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/<wbr>listinfo.cgi/quickfixn-<wbr>quickfixn.com</a><br>
</blockquote></div><br></div>