1 | |
|
|
2 | /* |
|
|
3 | * static char *rcsid_loop_c = |
|
|
4 | * "$Id: loop.C,v 1.6 2006/09/10 13:43:33 root Exp $"; |
|
|
5 | */ |
|
|
6 | |
|
|
7 | /* |
1 | /* |
8 | CrossFire, A Multiplayer game for X-windows |
2 | CrossFire, A Multiplayer game for X-windows |
9 | |
3 | |
10 | Copyright (C) 2002-2003 Mark Wedel & The Crossfire Development Team |
4 | Copyright (C) 2002-2003 Mark Wedel & The Crossfire Development Team |
11 | Copyright (C) 1992 Frank Tore Johansen |
5 | Copyright (C) 1992 Frank Tore Johansen |
… | |
… | |
22 | |
16 | |
23 | You should have received a copy of the GNU General Public License |
17 | You should have received a copy of the GNU General Public License |
24 | along with this program; if not, write to the Free Software |
18 | along with this program; if not, write to the Free Software |
25 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
26 | |
20 | |
27 | The author can be reached via e-mail to crossfire-devel@real-time.com |
21 | The author can be reached via e-mail to <crossfire@schmorp.de> |
28 | */ |
22 | */ |
29 | |
23 | |
30 | /** |
24 | /** |
31 | * \file |
25 | * \file |
32 | * Main client/server loops. |
26 | * Main client/server loops. |
… | |
… | |
43 | #ifndef __CEXTRACT__ |
37 | #ifndef __CEXTRACT__ |
44 | # include <sproto.h> |
38 | # include <sproto.h> |
45 | # include <sockproto.h> |
39 | # include <sockproto.h> |
46 | #endif |
40 | #endif |
47 | |
41 | |
48 | #ifndef WIN32 /* ---win32 exclude unix headers */ |
|
|
49 | # include <sys/types.h> |
42 | #include <sys/types.h> |
50 | # include <sys/time.h> |
43 | #include <sys/time.h> |
51 | # include <sys/socket.h> |
44 | #include <sys/socket.h> |
52 | # include <netinet/in.h> |
45 | #include <netinet/in.h> |
53 | # include <netdb.h> |
46 | #include <netdb.h> |
54 | #endif /* end win32 */ |
|
|
55 | |
47 | |
56 | #ifdef HAVE_UNISTD_H |
48 | #ifdef HAVE_UNISTD_H |
57 | # include <unistd.h> |
49 | # include <unistd.h> |
58 | #endif |
50 | #endif |
59 | |
51 | |