Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: cdcf4bbd9d75db0d2ba69377c5e7ff22ec236f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
   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;

/// default network port
const unsigned int DEFAULTPORT = 8042;
}

#endif // __INCLUDED_NET_H__