From 5f26ee201c905a5267f500811b7a92d54bec008e Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 20 Oct 2014 20:52:17 -0400 Subject: Increased interval and ping packet timeout by 1 second to try to fix TCP issues. --- toxcore/friend_connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore') diff --git a/toxcore/friend_connection.h b/toxcore/friend_connection.h index 4f8cbf41..ef56fd94 100644 --- a/toxcore/friend_connection.h +++ b/toxcore/friend_connection.h @@ -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) -- cgit v1.2.3