mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
5eeb971de0
-Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
18 lines
473 B
C
18 lines
473 B
C
#ifndef NETWORK_LAN_H
|
|
#define NETWORK_LAN_H
|
|
|
|
#ifdef ENABLE_NETWORK
|
|
|
|
void NetworkUDPInitialize(void);
|
|
bool NetworkUDPListen(SOCKET *udp, uint32 host, uint16 port, bool broadcast);
|
|
void NetworkUDPReceive(SOCKET udp);
|
|
void NetworkUDPSearchGame(void);
|
|
void NetworkUDPQueryMasterServer(void);
|
|
NetworkGameList *NetworkUDPQueryServer(const byte* host, unsigned short port);
|
|
void NetworkUDPAdvertise(void);
|
|
void NetworkUDPRemoveAdvertise(void);
|
|
|
|
#endif
|
|
|
|
#endif /* NETWORK_LAN_H */
|