<div dir="ltr">Quickfix/n will call the OnLogout callback if the socket connection is lost (even if the other side did not do a proper Logout).  Use this callback to know when the connection is lost, and use OnLogon to know when the connection is restored.<div><br></div><div>You can continue calling Session.SendToTarget when the socket connection is lost because Quickfix/n will queue the messages and deliver them when the socket is reconnected.</div><div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny</font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">Connamara Systems</font></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 20, 2020 at 10:02 AM Sergio Diego Demaestri <<a href="mailto:sdemaestri@mae.com.ar">sdemaestri@mae.com.ar</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="ES-AR">
<div class="gmail-m_2561395770319641401WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello ,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">We are using Quickfix 1.8.1 and we have some connection problems.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">By having a microcut some connected clients lose the hearbeat.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I can see the event<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">At the same time, other clients can stay connected even though they have already lost their socket and are not really connected.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">These strange behaviors occur only after the server's internet connection is cut for a minimum time.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Quickfix does not recognize the loss of the connection and continues sending msg.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Has it happened to them? Could you give me a solution?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">Thank you so much<u></u><u></u></p>
</div>
Aviso de Confidencialidad: La información contenida en este E-mail es confidencial y sólo puede ser utilizada por el destinatario a quien está dirigido. Conforme artículo 318 del Código Civil y Comercial de la Nación, la correspondencia confidencial no puede
 ser utilizada sin consentimiento del remitente, y los terceros no pueden valerse de la correspondencia sin asentimiento del destinatario, y del remitente si es confidencial. Si no es el destinatario autorizado de este E-mail, no puede utilizar esta información
 sin consentimiento del remitente y cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Toda vez que la información remitida por este medio puede ser objeto de modificación o alteración, el emisor no se
 responsabiliza por errores u omisiones contenidos en este mensaje o sus anexos, ni garantiza la seguridad, exactitud de lo transmitido por este medio. Si por error ha recibido este E-mail, favor reenvíelo al remitente y borre el mensaje recibido inmediatamente
</div>

_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div>

<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span>