[Quickfix-developers] How to check for dropped socket
Brought to you by:
orenmnero
|
From: Francis G. <fr...@at...> - 2005-06-23 19:00:17
|
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 |