From 22e136d88817b64ec904a7e7232a2cf9e80e74bd Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 23 Mar 2008 18:12:56 +0000 Subject: improved network connection handling, keep alive and time out --- src/core/netclient.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/netclient.h') diff --git a/src/core/netclient.h b/src/core/netclient.h index 1a7c716..49f509c 100644 --- a/src/core/netclient.h +++ b/src/core/netclient.h @@ -66,6 +66,9 @@ public: inline State state() const { return client_state; } State client_state; + + float client_timeout; + float client_keepalive; private: struct sockaddr_in client_addr; -- cgit v1.2.3