author | rubidium |
Sun, 25 May 2008 19:17:03 +0000 | |
changeset 9354 | 845e07db4549 |
parent 9111 | 48ce04029fe4 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
9111
48ce04029fe4
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
6247
diff
changeset
|
3 |
/** @file network_udp.h Sending and receiving UDP messages. */ |
48ce04029fe4
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
6247
diff
changeset
|
4 |
|
2436
7d5df545bd5d
(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 |
7d5df545bd5d
(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
946badd71033
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff
changeset
|
7 |
|
774
bb9ec520a1b1
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
8 |
#ifdef ENABLE_NETWORK |
bb9ec520a1b1
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
9 |
|
6247 | 10 |
void NetworkUDPInitialize(); |
11 |
void NetworkUDPSearchGame(); |
|
12 |
void NetworkUDPQueryMasterServer(); |
|
5916
8931f4450f51
(svn r8543) -Codechange: make a real difference between querying the server via UDP and TCP.
rubidium
parents:
5619
diff
changeset
|
13 |
void NetworkUDPQueryServer(const char* host, unsigned short port, bool manually = false); |
6247 | 14 |
void NetworkUDPAdvertise(); |
15 |
void NetworkUDPRemoveAdvertise(); |
|
16 |
void NetworkUDPShutdown(); |
|
543
946badd71033
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff
changeset
|
17 |
|
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
2436
diff
changeset
|
18 |
#endif /* ENABLE_NETWORK */ |
774
bb9ec520a1b1
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
19 |
|
2436
7d5df545bd5d
(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 */ |