equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
|
2 |
|
3 /** |
|
4 * @file core/udp.cpp Basic functions to receive and send UDP packets. |
|
5 */ |
2 |
6 |
3 #ifdef ENABLE_NETWORK |
7 #ifdef ENABLE_NETWORK |
4 |
8 |
5 #include "../../stdafx.h" |
9 #include "../../stdafx.h" |
6 #include "../../debug.h" |
10 #include "../../debug.h" |
7 #include "../../macros.h" |
11 #include "../../macros.h" |
8 #include "../../helpers.hpp" |
12 #include "../../helpers.hpp" |
9 #include "packet.h" |
13 #include "packet.h" |
10 #include "udp.h" |
14 #include "udp.h" |
11 |
|
12 /** |
|
13 * @file core/udp.cpp Basic functions to receive and send UDP packets. |
|
14 */ |
|
15 |
15 |
16 /** |
16 /** |
17 * Start listening on the given host and port. |
17 * Start listening on the given host and port. |
18 * @param host the host (ip) to listen on |
18 * @param host the host (ip) to listen on |
19 * @param port the port to listen on |
19 * @param port the port to listen on |