diff options
author | irungentoo <irungentoo@gmail.com> | 2014-07-10 18:15:55 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-07-10 18:15:55 -0400 |
commit | 1d6c3934736c3694a7c9f694d818252e4159cde3 (patch) | |
tree | d8c860871ae48e51f3587660fb0a4ed9aa1f5366 /toxcore/TCP_client.h | |
parent | e334188353a9fad7d6d9f925b33a1684cdb4d958 (diff) |
Made TCP a bit more solid.
TCP ping requests in TCP_client should have a higher success rate.
Diffstat (limited to 'toxcore/TCP_client.h')
-rw-r--r-- | toxcore/TCP_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/TCP_client.h b/toxcore/TCP_client.h index e6d232ed..f57f79e6 100644 --- a/toxcore/TCP_client.h +++ b/toxcore/TCP_client.h | |||
@@ -58,6 +58,8 @@ typedef struct { | |||
58 | uint64_t ping_id; | 58 | uint64_t ping_id; |
59 | 59 | ||
60 | uint64_t ping_response_id; | 60 | uint64_t ping_response_id; |
61 | uint64_t ping_request_id; | ||
62 | |||
61 | void *net_crypto_pointer; | 63 | void *net_crypto_pointer; |
62 | uint32_t net_crypto_location; | 64 | uint32_t net_crypto_location; |
63 | struct { | 65 | struct { |