author | truebrain |
Fri, 18 Jul 2008 10:15:16 +0000 | |
branch | noai |
changeset 11168 | 3842648184cd |
parent 10455 | 22c441f5adf9 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
10455
22c441f5adf9
(svn r12997) [NoAI] -Sync: with trunk r12895:12996.
rubidium
parents:
6573
diff
changeset
|
3 |
/** @file network_udp.h Sending and receiving UDP messages. */ |
22c441f5adf9
(svn r12997) [NoAI] -Sync: with trunk r12895:12996.
rubidium
parents:
6573
diff
changeset
|
4 |
|
2436
177cb6a8339f
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents:
2186
diff
changeset
|
5 |
#ifndef NETWORK_UDP_H |
177cb6a8339f
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents:
2186
diff
changeset
|
6 |
#define NETWORK_UDP_H |
543
e3b43338096b
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff
changeset
|
7 |
|
774
258c11431acb
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
8 |
#ifdef ENABLE_NETWORK |
258c11431acb
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
9 |
|
6573 | 10 |
void NetworkUDPInitialize(); |
11 |
void NetworkUDPSearchGame(); |
|
12 |
void NetworkUDPQueryMasterServer(); |
|
6167
1475cf991e66
(svn r8543) -Codechange: make a real difference between querying the server via UDP and TCP.
rubidium
parents:
5870
diff
changeset
|
13 |
void NetworkUDPQueryServer(const char* host, unsigned short port, bool manually = false); |
6573 | 14 |
void NetworkUDPAdvertise(); |
15 |
void NetworkUDPRemoveAdvertise(); |
|
16 |
void NetworkUDPShutdown(); |
|
543
e3b43338096b
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff
changeset
|
17 |
|
4830
0ff2a14e90be
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
2436
diff
changeset
|
18 |
#endif /* ENABLE_NETWORK */ |
774
258c11431acb
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
19 |
|
2436
177cb6a8339f
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents:
2186
diff
changeset
|
20 |
#endif /* NETWORK_UDP_H */ |