Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-23 18:12:56 +0000
committerStijn Buys <ingar@osirion.org>2008-03-23 18:12:56 +0000
commit22e136d88817b64ec904a7e7232a2cf9e80e74bd (patch)
treeea369bba78930ff55325412760d14102d326f85b /src/core/net.h
parent8485d43feca5597c4b412c6912aadcd9586e3cde (diff)
improved network connection handling, keep alive and time out
Diffstat (limited to 'src/core/net.h')
-rw-r--r--src/core/net.h4
1 files changed, 4 insertions, 0 deletions
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"