equal
deleted
inserted
replaced
1 /* $Id$ */ |
|
2 |
|
3 #ifndef NETWORK_UDP_H |
|
4 #define NETWORK_UDP_H |
|
5 |
|
6 #ifdef ENABLE_NETWORK |
|
7 |
|
8 void NetworkUDPInitialize(void); |
|
9 bool NetworkUDPListen(SOCKET *udp, uint32 host, uint16 port, bool broadcast); |
|
10 void NetworkUDPReceive(SOCKET udp); |
|
11 void NetworkUDPSearchGame(void); |
|
12 void NetworkUDPQueryMasterServer(void); |
|
13 NetworkGameList *NetworkUDPQueryServer(const char* host, unsigned short port); |
|
14 void NetworkUDPAdvertise(void); |
|
15 void NetworkUDPRemoveAdvertise(void); |
|
16 |
|
17 #endif /* ENABLE_NETWORK */ |
|
18 |
|
19 #endif /* NETWORK_UDP_H */ |
|