OpenTTD-patches/network_udp.h
2004-12-22 18:56:52 +00:00

14 lines
442 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);
void NetworkUDPRemoveAdvertise(void);
#endif /* NETWORK_LAN_H */