First test version with network timeout. Only activity timeout and global timeout, no game admin timeout yet. Set to test values (will disconnect rapidly).
Modified method for init timeout (if session cannot be established) - now using one non-modifiable timer for each session, and an additional timer which is reset whenever session data is received.
This commit is contained in:
@@ -66,6 +66,7 @@ public:
|
||||
bool IsPlayerConnected(unsigned uniqueId) const;
|
||||
|
||||
void ForEach(boost::function<void (SessionWrapper)> func);
|
||||
void ForEachRemoveIf(boost::function<bool (SessionWrapper)> func);
|
||||
|
||||
unsigned CountReadySessions() const;
|
||||
void ResetAllReadyFlags();
|
||||
|
||||
Reference in New Issue
Block a user