<p dir="ltr">You could, but there is no need to check repeatedly -- you'll never receive an OnLogon() for a connection that never gets established, so you'll know there's a problem with that session. </p>
<p dir="ltr">p.s. If you want to know which sessions exist (connected or not), implement the OnCreate() callback. </p>
<div class="gmail_quote">On Jan 22, 2014 11:15 AM, "Michael Groeger" <<a href="mailto:mikeonquickfix@gmail.com">mikeonquickfix@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Dear Mike,</div><div> </div><div>thanks for your reply. And what will happen when a connection never gets established for example when the acceptor is not responding or accepting connections? Is it correct to say that the application can/should handle this by contineously testing SocketInitiator.IsLoggedOn()?</div>
<div> </div><div>Best regards,</div><div>Michael</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/22 Mike Gatny <span dir="ltr"><<a href="mailto:mgatny@connamara.com" target="_blank">mgatny@connamara.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You will get an OnLogout() in case of both expected and unexpected disconnect. This callback is usually used along with OnLogon() to keep track of the connection, e.g. sending alerts into external tools.</p>
<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<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" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div>