<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">If you build from master then the socket should release properly.</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div>
<div class="gmail_default" style="font-size:small;color:#000000">This fix will be in the next release.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 31, 2013 at 8:18 AM, Walter Robert Ditzler <span dir="ltr"><<a href="mailto:ditwal001@gmail.com" target="_blank">ditwal001@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Phillip,<br>
<br>
I know what open source means and i am also willing to invest time - thats<br>
why i asked the list for a "brief" answer. But I already spent hugh time to<br>
find out how and where the socket communication is done in QuickFix/n but<br>
still I haven't found it, since the socket doesn't properly shut down and I<br>
always got hanging process, which I have to kill in task manager by my-self.<br>
<br>
So that's why I asked the maintainer directly, where to start - at this<br>
point - many thanks for the terrific explanation - which helps a lot.<br>
<br>
Take care,<br>
<br>
Walter.<br>
<div class="im HOEnZb"><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a><br>
[mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a>] On Behalf Of Phillip Wei<br>
Sent: Donnerstag, 31. Oktober 2013 13:14<br>
To: Mailing list for QuickFIX/n<br>
</div><div class="HOEnZb"><div class="h5">Subject: Re: {{Quickfixn}} general question about data flow handling<br>
<br>
Hi Walter,<br>
<br>
You should look into the source code. If you understand the concepts you<br>
are asking about, it's not that hard to if you take some time to look<br>
through it. Since this is an open source project; you have access to as<br>
much code as any of us do.<br>
<br>
Acceptors and Initiators all take IMessageStoreFactory, ILogFactory,<br>
IMessageFactory - you can write your own in memory versions, or there are<br>
some versions you can use in the core library that may serve your needs.<br>
<br>
The default loggers (for both logging and message store) use a StreamWriter<br>
so they do not any asyncronous writing. If you look at their public<br>
interfaces of ILog, you will see there are four exposed methods (Clear,<br>
OnIncoming, OnOutgoing, OnEvent). These are all called in a blocking<br>
fashion (in both Sesssion.cs and SocketReader.cs), which I think is the<br>
right architectural choice. If you want deferred writes, pass in an<br>
implementation of ILogFactory (or IMessageFactory) that performs<br>
asynchoronous writing. If you think this would be valuable to others,<br>
submit a pull request to have it incorporated into the main source code.<br>
<br>
Phil<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a><br>
[mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a>] On Behalf Of Walter Robert<br>
Ditzler<br>
Sent: Thursday, October 31, 2013 7:05 AM<br>
To: 'Mailing list for QuickFIX/n'<br>
Subject: {{Quickfixn}} general question about data flow handling<br>
<br>
Hi there,<br>
<br>
for my understanding i would like to know, if the QuickFix/n toolset is:<br>
<br>
- A total in-memory data flow processing, except the writing of logs, means<br>
from FIX input until FIX output there is no disk IO fired or needed?<br>
<br>
How do you write logs, do you use synchronious methods or async methods<br>
using pipeline's like .net's FIFO "ConcurrentQueue<T>" to avoid latency<br>
until files are written?<br>
<br>
Many thanks for a brief input,<br>
<br>
Walter.<br>
<br>
<br>
<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>
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>
_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br>
</font></font></div><div><font><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br>
</div><div><font><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>
</font></div>
</div>