2009-08-21 22:21:05 +02:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2008-05-06 17:11:33 +02:00
|
|
|
/** @file network_udp.h Sending and receiving UDP messages. */
|
|
|
|
|
2005-09-18 22:56:44 +02:00
|
|
|
#ifndef NETWORK_UDP_H
|
|
|
|
#define NETWORK_UDP_H
|
2004-12-04 18:54:56 +01:00
|
|
|
|
2010-01-15 17:41:15 +01:00
|
|
|
#include "core/address.h"
|
|
|
|
|
2007-03-07 12:47:46 +01:00
|
|
|
void NetworkUDPInitialize();
|
|
|
|
void NetworkUDPSearchGame();
|
2009-04-08 21:36:51 +02:00
|
|
|
void NetworkUDPClose();
|
2021-04-11 11:22:50 +02:00
|
|
|
void NetworkUDPServerListen();
|
2012-01-04 23:08:43 +01:00
|
|
|
void NetworkBackgroundUDPLoop();
|
2004-12-04 18:54:56 +01:00
|
|
|
|
2005-09-18 22:56:44 +02:00
|
|
|
#endif /* NETWORK_UDP_H */
|