2004-12-04 17:54:56 +00:00
|
|
|
#ifndef NETWORK_LAN_H
|
|
|
|
#define NETWORK_LAN_H
|
|
|
|
|
2004-12-23 00:24:44 +00:00
|
|
|
#ifdef ENABLE_NETWORK
|
|
|
|
|
2004-12-04 17:54:56 +00:00
|
|
|
void NetworkUDPInitialize(void);
|
2004-12-22 18:42:56 +00:00
|
|
|
bool NetworkUDPListen(SOCKET *udp, uint32 host, uint16 port, bool broadcast);
|
|
|
|
void NetworkUDPReceive(SOCKET udp);
|
2004-12-04 17:54:56 +00:00
|
|
|
void NetworkUDPSearchGame(void);
|
2004-12-22 18:42:56 +00:00
|
|
|
void NetworkUDPQueryMasterServer(void);
|
2005-02-06 22:25:27 +00:00
|
|
|
NetworkGameList *NetworkUDPQueryServer(const char* host, unsigned short port);
|
2004-12-19 10:17:26 +00:00
|
|
|
void NetworkUDPAdvertise(void);
|
2004-12-22 18:56:52 +00:00
|
|
|
void NetworkUDPRemoveAdvertise(void);
|
2004-12-04 17:54:56 +00:00
|
|
|
|
2004-12-23 00:24:44 +00:00
|
|
|
#endif
|
|
|
|
|
2004-12-04 17:54:56 +00:00
|
|
|
#endif /* NETWORK_LAN_H */
|