git-svn-id: svn://db.shs.com.ru/libs@320 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-11-20 12:26:24 +00:00
parent cdba136c66
commit 157e9a2fac

View File

@@ -159,7 +159,7 @@ void CDCore::init(const PIString & configuration) {
void CDCore::startPing() { void CDCore::startPing() {
x_timer.start(1); x_timer.start(1.0);
} }
@@ -251,6 +251,7 @@ void CDCore::sendThread() {
void CDCore::xTimerTick() { void CDCore::xTimerTick() {
PacketHeader ph; PacketHeader ph;
ph.type = CD_Ping; ph.type = CD_Ping;
ph.session_id = 0;
PIByteArray ba; PIByteArray ba;
ba << ph; ba << ph;
connection.writeByName("cd", ba); connection.writeByName("cd", ba);