blob: 43ca8f9999ecd47ef3b4f888d11796a90b72b9a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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);
#endif /* NETWORK_LAN_H */
|