Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / Reactor / TP_Reactor / common.h
blob4964559dd3bcbb0a2ac271def21fcc7656661c6a
1 /*
2 * ACE reactor demonstration
4 * Date: 26-Jan-2006
5 */
7 #ifndef __COMMON_H__
8 #define __COMMON_H__
10 #include <ace/Time_Value.h>
12 /**
13 * The port number used by client and server.
15 static const int PORT = 4711;
17 /**
18 * The base size. 0x100000 = 1 MiB
20 static const int BASE = 0x100000;
22 /**
23 * The timeout value for connections. (30 seconds)
25 static const ACE_Time_Value connTimeout(30);
27 #endif /* __COMMON_H__ */