sources/network/rconsession.cpp

branch
packetqueue
changeset 178
bebd40d63ae8
parent 177
131518f86af6
equal deleted inserted replaced
177:131518f86af6 178:bebd40d63ae8
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
36 // ------------------------------------------------------------------------------------------------- 42 // -------------------------------------------------------------------------------------------------
37 // 43 //
38 RCONSession::RCONSession() : 44 RCONSession::RCONSession() :
39 m_state(RCON_DISCONNECTED), 45 m_state(RCON_DISCONNECTED),
40 m_lastPing(0), 46 m_lastPing(0),

mercurial