blob: ad0e79844d2e1e61b53455d2abb3f99b24923e65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#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 */
|