From 83e8023c5e46635753a609329cf9805a3520001e Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 13 Feb 2008 22:53:01 +0000 Subject: network subsystem initial import --- src/net/net.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/net/net.h (limited to 'src/net/net.h') 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__ + -- cgit v1.2.3