OpenTTD-patches/network_udp.h

12 lines
329 B
C
Raw Normal View History

#ifndef NETWORK_LAN_H
#define NETWORK_LAN_H
void NetworkUDPInitialize(void);
bool NetworkUDPListen(uint32 host, uint16 port);
void NetworkUDPReceive(void);
void NetworkUDPSearchGame(void);
NetworkGameList *NetworkUDPQueryServer(const byte* host, unsigned short port);
void NetworkUDPAdvertise(void);
#endif /* NETWORK_LAN_H */