diff --git a/src/cimrsprotocol.cpp b/src/cimrsprotocol.cpp index 4ad5fe3..1062646 100644 --- a/src/cimrsprotocol.cpp +++ b/src/cimrsprotocol.cpp @@ -126,10 +126,9 @@ void CImrsProtocol::Task(void) EncodePongPacket(&Buffer); m_Socket.Send(Buffer, Ip, IMRS_PORT); - // and our turn + // our turn EncodePingPacket(&Buffer); m_Socket.Send(Buffer, Ip, IMRS_PORT); - } else if ( IsValidConnectPacket(Buffer, &Callsign) ) { @@ -327,6 +326,9 @@ void CImrsProtocol::HandleQueue(void) m_Socket.Send(buffer, client->GetIp(), IMRS_PORT); //std::cout << "sending " << buffer.size() << " bytes to " << client->GetIp() << std::endl; } + // as DR-2X doesn't seems to respond to keepalives when receiving a stream + // tickle the keepalive timer here + client->Alive(); } g_Reflector.ReleaseClients(); } diff --git a/src/main.h b/src/main.h index ae10c8c..3f8f9d3 100644 --- a/src/main.h +++ b/src/main.h @@ -50,7 +50,7 @@ #define VERSION_MAJOR 2 #define VERSION_MINOR 5 -#define VERSION_REVISION 0 +#define VERSION_REVISION 1 // global ------------------------------------------------------