diff options
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; |