Increased interval and ping packet timeout by 1 second to try to

fix TCP issues.
This commit is contained in:
irungentoo 2014-10-20 20:52:17 -04:00
parent f4e050f377
commit 5f26ee201c
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -39,7 +39,7 @@
#define PACKET_ID_FRIEND_REQUESTS 18
/* Interval between the sending of ping packets. */
#define FRIEND_PING_INTERVAL 6
#define FRIEND_PING_INTERVAL 7
/* If no packets are received from friend in this time interval, kill the connection. */
#define FRIEND_CONNECTION_TIMEOUT (FRIEND_PING_INTERVAL * 3)