mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-19 13:41:11 +00:00
90b2b2144b
-Fix: UDPListener was launched wrongly -Fix: Not all sockets have broadcast enabled anymore -Fix: Server-advertise retries 3 times before giving up
13 lines
404 B
C
13 lines
404 B
C
#ifndef NETWORK_LAN_H
|
|
#define NETWORK_LAN_H
|
|
|
|
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);
|
|
|
|
#endif /* NETWORK_LAN_H */
|