diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 16:36:48 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 16:36:48 +0000 |
commit | 4e8674860d894a1b1b9cbf6b7a7e19e7533ff29c (patch) | |
tree | c168183b6680bc10ca02a412f629bceabd7cd3cb /src/common/socket.h | |
parent | 84087a82d95c4b6810fed0b4f4f8312523367a93 (diff) | |
download | hercules-4e8674860d894a1b1b9cbf6b7a7e19e7533ff29c.tar.gz hercules-4e8674860d894a1b1b9cbf6b7a7e19e7533ff29c.tar.bz2 hercules-4e8674860d894a1b1b9cbf6b7a7e19e7533ff29c.tar.xz hercules-4e8674860d894a1b1b9cbf6b7a7e19e7533ff29c.zip |
- Fixed the new socket code, which was triggering the inactivity timeout on the servers' listening sockets
- Fixed the TURBO code not working since r4468 (parse func never called)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9826 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.h')
-rw-r--r-- | src/common/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/socket.h b/src/common/socket.h index dc156318c..1c4a1bd8c 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -81,8 +81,8 @@ struct socket_data { size_t max_rdata, max_wdata; size_t rdata_size, wdata_size; size_t rdata_pos; - time_t rdata_tick; - struct sockaddr_in client_addr; + time_t rdata_tick; // time of last receive (for detecting timeouts) + struct sockaddr_in client_addr; // remote client address (zero for s2s connections) void* session_data; RecvFunc func_recv; SendFunc func_send; |