diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-23 18:12:56 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-23 18:12:56 +0000 |
commit | 22e136d88817b64ec904a7e7232a2cf9e80e74bd (patch) | |
tree | ea369bba78930ff55325412760d14102d326f85b /src/core/netclient.h | |
parent | 8485d43feca5597c4b412c6912aadcd9586e3cde (diff) |
improved network connection handling, keep alive and time out
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r-- | src/core/netclient.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |