<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Are ACCEPTOR and INITIATOR the actual CompIDs you’re using?  It looks like there might be an erroneous space after ACCEPTOR.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Quickfixn [mailto:quickfixn-bounces@lists.quickfixn.com]
<b>On Behalf Of </b>Grant Birchmeier<br>
<b>Sent:</b> 22 January 2016 17:14<br>
<b>To:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br>
<b>Subject:</b> Re: {{Quickfixn}} Quickfix throwing an exception<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">One idea: Is your HeartBtInt setting in your configuration correct?  It should be the same as what your counterparty
<o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:black">​is using​<o:p></o:p></span></p>
</div>
<p class="MsoNormal">.<o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Jan 22, 2016 at 7:34 AM, Ivanildo Junior <<a href="mailto:juniorfrenzel@gmail.com" target="_blank">juniorfrenzel@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p>Hi All,<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I’m creating an application using quickfix and I having this issue that keeps occurring times though times,<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I’m able to establish a connection with my acceptor and we kept the connection as suppose, but after some time I receive that message below<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Session FIX.4.4:Initiator->Acceptor disconnecting: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host<o:p></o:p></p>
<p>   at QuickFix.SocketInitiatorThread.ReadSome(Byte[] buffer, Int32 timeoutMilliseconds) in SocketInitiatorThread.cs:line 171<o:p></o:p></p>
<p>   at QuickFix.SocketInitiatorThread.Read() in SocketInitiatorThread.cs:line 80<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>After that exception my Session is not reconnected, but that might be related to the facts that my application crashes when this exception happens.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>You guys know a way to fix this or how I can do some workaround to prevent this from happening?<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Another thing that I notices is there are one test request during the heartbeat messages with incorrect interval.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Right now , I’m using the DLL obtained from the project that is on the git hub version (I had to compile the project to get the DLL.)<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>He is one prove that my application is connecting successfully with my target;<o:p></o:p></p>
<p>  <o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4649=INITIATOR52=20160122-12:26:14.95356=ACCEPTOR 10=036<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4649=ACCEPTOR  52=20160122-12:27:28.08756=INITIATOR10=040<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4549=INITIATOR52=20160122-12:25:44.92156=ACCEPTOR 10=032<o:p></o:p></p>
<p>8=FIX.4.49=7035=034=4449=INITIATOR52=20160122-12:25:14.91656=ACCEPTOR 112=TEST10=050<o:p></o:p></p>
<p>8=FIX.4.49=7035=134=4549=ACCEPTOR 52=20160122-12:26:58.03956=INITIATOR112=TEST10=057<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4449=ACCEPTOR 52=20160122-12:26:52.00756=INITIATOR10=026<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4349=ACCEPTOR 52=20160122-12:26:22.86556=INITIATOR10=034<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4349=INITIATOR52=20160122-12:24:39.69556=ACCEPTOR10=041<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4249=ACCEPTOR 52=20160122-12:25:52.78656=INITIATOR10=037<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4249=INITIATOR52=20160122-12:24:09.61556=ACCEPTOR10=029<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4149=ACCEPTOR 52=20160122-12:25:22.70756=INITIATOR10=026<o:p></o:p></p>
<p>8=FIX.4.49=6135=034=4149=INITIATOR52=20160122-12:23:39.53956=ACCEPTOR10=035<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Thanks in advance.<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;background:white">Grant Birchmeier</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#3333FF;background:#FFCC00">Connamara Systems, LLC</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Made-To-Measure Trading Solutions.</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Exactly what you need. No more. No less.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><a href="http://connamara.com" target="_blank">http://connamara.com</a></span><o:p></o:p></p>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="1"><br>
This e-mail, including accompanying communications and attachments, is strictly confidential and only for the intended recipient. Any retention, use or disclosure not expressly authorised by Markit is prohibited. This email is subject to all waivers and other
 terms at the following link: http://www.markit.com/en/about/legal/email-disclaimer.page<br>
<br>
Please visit http://www.markit.com/en/about/contact/contact-us.page for contact information on our offices worldwide.<br>
</font>
</body>
</html>