1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
3 //
4 // $Id: i_net.c 1257 2016-09-20 17:14:21Z wesleyjohnson $
5 //
6 // Copyright (C) 1993-1996 by id Software, Inc.
7 // Portions Copyright (C) 1998-2016 by DooM Legacy Team.
8 //
9 // This program is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU General Public License
11 // as published by the Free Software Foundation; either version 2
12 // of the License, or (at your option) any later version.
13 //
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 //
19 //
20 //
21 // Revision 1.2 2000/02/27 00:42:11 hurdler
22 // Revision 1.1.1.1 2000/02/22 20:32:33 hurdler
23 // Initial import into CVS (v1.29 pr3)
24 //
25 //
26 // DESCRIPTION:
27 // network interface
28 //
29 //-----------------------------------------------------------------------------
30
31
32 #include <errno.h>
33
34 #include "doomincl.h"
35 #include "doomstat.h"
36
37 #include "i_system.h"
38 #include "i_net.h"
39 #include "d_event.h"
40 #include "d_net.h"
41 #include "m_argv.h"
42 #include "z_zone.h"
43
44 //
45 // NETWORKING
46 //
47
48
49 //
50 // I_InitNetwork
51 //
I_InitNetwork(void)52 boolean I_InitNetwork (void)
53 {
54 I_InitTcpNetwork();
55
56 //return true;
57 if( M_CheckParm ("-net") )
58 {
59 I_Error("-net not supported, use -server and -connect\n"
60 "see docs for more\n");
61 }
62 return false;
63 }
64