git-svn-id: svn://db.shs.com.ru/libs@320 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user