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>2010-10-26 21:08:12 +0000
committerStijn Buys <ingar@osirion.org>2010-10-26 21:08:12 +0000
commit75c6db097b990e58b4b2585580a89561c838d923 (patch)
tree8c913bdc531ea9a76dcaa9e10a65763f95fa55e4 /src/core/net.h
parent23c7d2c11170ee8736673e82a88e87a3d2e538f7 (diff)
updated network protocol version to 20, implemented invemtory depletion, unified depletion with keepalive
Diffstat (limited to 'src/core/net.h')
-rw-r--r--src/core/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/net.h b/src/core/net.h
index 39dfdf6..31fc6d7 100644
--- a/src/core/net.h
+++ b/src/core/net.h
@@ -11,7 +11,7 @@ namespace core
{
/// network protocol version
-const unsigned int PROTOCOLVERSION = 19;
+const unsigned int PROTOCOLVERSION = 20;
/// maximum lenght of a (compressed) network message block
const unsigned int FRAMESIZE = 1152;
@@ -24,7 +24,7 @@ const unsigned int MAXPENDINGCONNECTIONS = 32;
const unsigned int DEFAULTPORT = 8042;
/// network timeout in seconds
-const float NETTIMEOUT = 20;
+const float NETTIMEOUT = 15;
}