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/net.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/net.h') diff --git a/src/core/net.h b/src/core/net.h index dd81580..150bbc1 100644 --- a/src/core/net.h +++ b/src/core/net.h @@ -20,6 +20,10 @@ const unsigned int MAXPENDINGCONNECTIONS = 32; /// default network port const unsigned int DEFAULTPORT = 8042; + +/// network timeout in seconds +const float NETTIMEOUT = 15; + } #include "core/netserver.h" -- cgit v1.2.3