From fa52276fefd1422201ed11a43654cdc33810250a Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 9 Jul 2012 12:53:40 +0000 Subject: [PATCH] support for slave server messages to keep NAT port open --- src/serverlist.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/serverlist.h b/src/serverlist.h index 208f1d31..599283f8 100755 --- a/src/serverlist.h +++ b/src/serverlist.h @@ -182,6 +182,7 @@ protected: QTimer TimerPollList; QTimer TimerRegistering; QTimer TimerPingServerInList; + QTimer TimerPingCentralServer; QMutex Mutex; @@ -194,11 +195,14 @@ protected: bool bIsCentralServer; bool bUseDefaultCentralServerAddress; + CHostAddress SlaveCurCentServerHostAddress; + CProtocol* pConnLessProtocol; public slots: void OnTimerPollList(); void OnTimerPingServerInList(); + void OnTimerPingCentralServer(); void OnTimerRegistering() { SlaveServerRegisterServer ( true ); } };