mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
improved packet loss handling
This commit is contained in:
parent
657f97680a
commit
d6083a85c7
6 changed files with 26 additions and 19 deletions
|
|
@ -24,6 +24,7 @@ private slots:
|
|||
void loginResponse(ProtocolResponse *response);
|
||||
private:
|
||||
static const int maxTimeout = 10;
|
||||
int timeRunning, lastDataReceived;
|
||||
|
||||
QTimer *timer;
|
||||
QTcpSocket *socket;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue