Optimize network traffic a bit:
- Send keepalive packets every second
- Don't send keepalive packet if there was action packet within a second
Time between turns in net game is reduced to 1 second now (was 2 seconds)
/*
* Copyright (C) 2008 Remko Troncon
*/
#ifndef SPARKLEAUTOUPDATER_H
#define SPARKLEAUTOUPDATER_H
#include <QString>
#include "AutoUpdater.h"
class SparkleAutoUpdater : public AutoUpdater
{
public:
SparkleAutoUpdater(const QString& url);
~SparkleAutoUpdater();
void checkForUpdates();
private:
class Private;
Private* d;
};
#endif