sources/network/rconsession.cpp

branch
packetqueue
changeset 177
131518f86af6
parent 172
0b0bc8045d28
parent 176
060a13878ca0
child 178
bebd40d63ae8
equal deleted inserted replaced
172:0b0bc8045d28 177:131518f86af6
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),

mercurial