31 #include <time.h> |
31 #include <time.h> |
32 #include "rconsession.h" |
32 #include "rconsession.h" |
33 #include "../interface.h" |
33 #include "../interface.h" |
34 BEGIN_ZFC_NAMESPACE |
34 BEGIN_ZFC_NAMESPACE |
35 |
35 |
36 struct PacketHeader |
|
37 { |
|
38 int32_t header; |
|
39 int sequenceNumber; |
|
40 }; |
|
41 |
|
42 // ------------------------------------------------------------------------------------------------- |
36 // ------------------------------------------------------------------------------------------------- |
43 // |
37 // |
44 RCONSession::RCONSession() : |
38 RCONSession::RCONSession() : |
45 m_state(RCON_DISCONNECTED), |
39 m_state(RCON_DISCONNECTED), |
46 m_lastPing(0), |
40 m_lastPing(0), |