Re: [Quickfix-developers] How to check for dropped socket
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2005-06-23 19:28:19
|
A session always exists, but it can be disabled if you do not wish for it to logon and process messages. Keep in mind these are FIX sessions, not socket sessions. They exist outside of the scope of a socket connection. Session::isLoggedOn indicates whether the sessions has sucesfully exchanged logon messages with the counterparty. I'm not sure what you are refering to with "socket.isLoggedOn()". --oren ----- Original Message ----- From: "Francis Gingras" <fr...@at...> To: <qui...@li...> Sent: Thursday, June 23, 2005 1:58 PM Subject: [Quickfix-developers] How to check for dropped socket > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > I am using the initiator and I'd like to know how I can check if the > socket > was dropped. (i.e. if the connection was shut down by the acceptor side) > > I figure I can use these properties but I'm not 100% sure what they mean: > > session.isEnabled() > If the session exists, how can it not be enabled? > > session.isLoggedOn() > socket.isLoggedOn() > Are they always the same and do they mean the same thing? > > Thanks, > > Francis Gingras > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |