Searched refs:KADEMLIADISCONNECTDELAY (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/include/protocol/kad/
H A DConstants.h43 #define KADEMLIADISCONNECTDELAY MIN2S(20) //20 mins macro
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/kademlia/
H A DPrefs.h71 bool HasHadContact() const throw() { return m_lastContact ? ((time(NULL) - m_lastContact) < KADEMLIADISCONNECTDELAY) : false; }
73 bool HasLostConnection() const throw() { return m_lastContact ? !((time(NULL) - m_lastContact) < KADEMLIADISCONNECTDELAY) : false; }
H A DKademlia.cpp243 if (lastContact && (now - lastContact > KADEMLIADISCONNECTDELAY - MIN2S(5))) {

Completed in 164 milliseconds