summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-04-07 23:10:55 +0200
committerGitHub <noreply@github.com>2019-04-07 23:10:55 +0200
commitab975f47579e1522dd6da8996913ac31c2e72207 (patch)
tree3954ed57ab46f4e403d83215822d6ca4a9e24189 /src/common/socket.h
parent4c571d8382418024ef39640f231ced878919e58e (diff)
parente610e222c57c1268fce72bc9578b42f655c18545 (diff)
downloadhercules-ab975f47579e1522dd6da8996913ac31c2e72207.tar.gz
hercules-ab975f47579e1522dd6da8996913ac31c2e72207.tar.bz2
hercules-ab975f47579e1522dd6da8996913ac31c2e72207.tar.xz
hercules-ab975f47579e1522dd6da8996913ac31c2e72207.zip
Merge pull request #2406 from 4144/updatepackets
Update packets and messages up to 2019-04-03
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index 193b22645..b20b0b07e 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -130,6 +130,7 @@ struct socket_data {
size_t rdata_pos;
uint32 last_head_size;
time_t rdata_tick; // time of last recv (for detecting timeouts); zero when timeout is disabled
+ time_t wdata_tick; // time of last send (for detecting timeouts);
RecvFunc func_recv;
SendFunc func_send;