1
This commit is contained in:
parent
9952d4b44a
commit
c82e25b233
@ -151,6 +151,9 @@ void TargetConn::on_socketread(a8::TcpClient* sender, char* buf, unsigned int le
|
||||
memmove(recv_buff_, recv_buff_ + offset, recv_bufflen_ - offset);
|
||||
}
|
||||
recv_bufflen_ -= offset;
|
||||
#if 1
|
||||
last_pong_tick = a8::XGetTickCount();
|
||||
#endif
|
||||
}
|
||||
|
||||
void TargetConn::CheckAlive()
|
||||
@ -162,10 +165,8 @@ void TargetConn::CheckAlive()
|
||||
last_pong_tick = a8::XGetTickCount();
|
||||
Open();
|
||||
} else {
|
||||
#if 0
|
||||
ss::SS_Ping msg;
|
||||
SendToRoomServer(msg);
|
||||
#endif
|
||||
SendMsg(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user