From 422ff3b77b3023c930161b992866ec54c419dbcc Mon Sep 17 00:00:00 2001 From: irungentoo Date: Wed, 9 Jul 2014 20:11:01 -0400 Subject: TCP should be a bit more solid. When a TCP ping request is recieved, try to send the response until success instead of just dropping it if sending the response fails on the first try. --- toxcore/TCP_client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'toxcore/TCP_client.h') diff --git a/toxcore/TCP_client.h b/toxcore/TCP_client.h index 2622b4f7..e6d232ed 100644 --- a/toxcore/TCP_client.h +++ b/toxcore/TCP_client.h @@ -57,6 +57,7 @@ typedef struct { uint64_t last_pinged; uint64_t ping_id; + uint64_t ping_response_id; void *net_crypto_pointer; uint32_t net_crypto_location; struct { -- cgit v1.2.3