mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-04-07 23:43:43 +00:00
xlxd 2.4.1
Corrected bug : last packets of a stream are sent back to sender
This commit is contained in:
parent
af900106c5
commit
cb989fd8de
3 changed files with 14 additions and 7 deletions
4
src/cg3protocol.cpp
Normal file → Executable file
4
src/cg3protocol.cpp
Normal file → Executable file
|
|
@ -69,6 +69,7 @@ bool CG3Protocol::Init(void)
|
|||
std::cout << "Error opening socket on port UDP" << G3_CONFIG_PORT << " on ip " << g_Reflector.GetListenIp() << std::endl;
|
||||
}
|
||||
|
||||
#ifndef DEBUG_NO_G3_ICMP_SOCKET
|
||||
ok &= m_IcmpRawSocket.Open(IPPROTO_ICMP);
|
||||
if ( !ok )
|
||||
{
|
||||
|
|
@ -82,7 +83,8 @@ bool CG3Protocol::Init(void)
|
|||
m_pPresenceThread = new std::thread(ConfigThread, this);
|
||||
m_pPresenceThread = new std::thread(IcmpThread, this);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// update time
|
||||
m_LastKeepaliveTime.Now();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue