Files
@ r1069:72cdacf7c6d0
Branch filter:
Location: cpp/openttd-patchpack/source/network_udp.h - annotation
r1069:72cdacf7c6d0
473 B
text/x-c
(svn r1570) Make the gcc version test work with old versions of test (i.e. don't use the < operator)
r543:efdb197f91ad r543:efdb197f91ad r543:efdb197f91ad r774:3e6bfb2226bd r774:3e6bfb2226bd r543:efdb197f91ad r764:b278ee9c19c0 r764:b278ee9c19c0 r543:efdb197f91ad r764:b278ee9c19c0 r738:f65fde6f029e r716:ae3edbaa50e7 r765:0c323ba44a44 r543:efdb197f91ad r774:3e6bfb2226bd r774:3e6bfb2226bd r543:efdb197f91ad | #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 */
|