OpenTTD
tcp_admin.h
Go to the documentation of this file.
1 /* $Id: tcp_admin.h 25588 2013-07-11 20:31:39Z planetmaker $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8  */
9 
14 #ifndef NETWORK_CORE_TCP_ADMIN_H
15 #define NETWORK_CORE_TCP_ADMIN_H
16 
17 #include "os_abstraction.h"
18 #include "tcp.h"
19 #include "../network_type.h"
20 #include "../../core/pool_type.hpp"
21 
22 #ifdef ENABLE_NETWORK
23 
37 
45 
66 
68 };
69 
75 };
76 
90 };
91 
101 };
103 
104 
109 
111 };
112 
115 protected:
119 
121 
131 
138 
147 
158 
169 
177 
185 
193 
200 
207 
215 
226 
242 
249 
256 
264 
272 
285 
295 
303 
312 
320 
334 
351 
360 
378 
396 
408 
417 
426 
445 
467 
475 
483 
485 public:
487 
488  NetworkAdminSocketHandler(SOCKET s);
490 
492 
498  {
499  return this->status;
500  }
501 };
502 
503 #endif /* ENABLE_NETWORK */
504 
505 #endif /* NETWORK_CORE_TCP_ADMIN_H */