[Quickfix-developers] QuickFix.SocketInitiator.stop() hang ?
Brought to you by:
orenmnero
|
From: Martin T. <mta...@ho...> - 2006-01-24 16:51:13
|
Hi, I still have this disconnection issue and I didn't find any clear answer yet. I have a C#.NET 2003 application that connect to a FIX server (implemented by us) using: qfxInitiatorSessionSettings = new SessionSettings(strConfigFilePath); FileStoreFactory factory = new FileStoreFactory(qfxInitiatorSessionSettings); ScreenLogFactory logFactory = new ScreenLogFactory(true, true, true); DefaultMessageFactory messageFactory = new DefaultMessageFactory(); qfxInitiator = new SocketInitiator(this, factory, qfxInitiatorSessionSettings, logFactory, messageFactory); and that work very well. Now, how do I disconnect ? if I try : qfxInitiator.stop(); //Loop here. qfxInitiator.__dtor(); then it loop forever, and no way to reconnect. I've seen other posts about this but no real solutions. Does the FIX server should throw something for having a client to disconnect correctly? I hope I can get rid of this issue, looking forward for your replies :) Regards Martin |