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-02-13 22:53:01 +0000
committerStijn Buys <ingar@osirion.org>2008-02-13 22:53:01 +0000
commit83e8023c5e46635753a609329cf9805a3520001e (patch)
tree23df93da350bb5e9bf084b5e64b506d8831fa013 /src/net/net.h
parent4c915658355ae3eeee195ef929fdf7453397edd5 (diff)
network subsystem initial import
Diffstat (limited to 'src/net/net.h')
-rw-r--r--src/net/net.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/net/net.h b/src/net/net.h
new file mode 100644
index 0000000..ab6594d
--- /dev/null
+++ b/src/net/net.h
@@ -0,0 +1,23 @@
+/*
+ net/net.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_NET_H__
+#define __INCLUDED_NET_H__
+
+/// this namespace contains the network subsystem
+namespace net
+{
+
+/// maximum lenght of a (compressed) network message block
+const unsigned int FRAMESIZE = 1152;
+
+/// maximum number of pending client connections, hard limit
+const unsigned int MAXPENDINGCONNECTIONS = 32;
+
+}
+
+#endif // __INCLUDED_NET_H__
+