[Quickfix-developers] session.cpp
Brought to you by:
orenmnero
From: <sri...@rh...> - 2003-11-12 21:26:32
|
In SessionState.H foolowing definition bool withinHeartBeat() const { UtcTimeStamp now; return ( ( now - lastSentTime() ) < heartBtInt() ) && ( ( now - lastReceivedTime() ) < heartBtInt() ); } does this need to be=20 return ( ( now - lastSentTime() ) < heartBtInt() ) || =20 ( ( now - lastReceivedTime() ) < heartBtInt() ); Please note || in place of && Srinivas |