summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-11-19 15:03:02 -0500
committerirungentoo <irungentoo@gmail.com>2015-11-19 15:03:02 -0500
commit0c29c0012574b76f3e890a96ad065f1a471c5b33 (patch)
tree02ef49acbaf1ba2201bf7cf3966c067f9e00c259 /toxcore/net_crypto.h
parent61c20d48aa558dcafb40a77cccb46dea7281ff51 (diff)
Attempted fix of disconnect when switching from TCP to UDP.
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r--toxcore/net_crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h
index cfeeaca5..1e118b70 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -124,6 +124,8 @@ typedef struct {
124 uint64_t direct_lastrecv_timev4; /* The Time at which we last received a direct packet in ms. */ 124 uint64_t direct_lastrecv_timev4; /* The Time at which we last received a direct packet in ms. */
125 uint64_t direct_lastrecv_timev6; 125 uint64_t direct_lastrecv_timev6;
126 126
127 uint64_t last_tcp_sent; /* Time the last TCP packet was sent. */
128
127 Packets_Array send_array; 129 Packets_Array send_array;
128 Packets_Array recv_array; 130 Packets_Array recv_array;
129 131