equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
|
2 |
|
3 /** |
|
4 * @file tcp.h Basic functions to receive and send TCP packets. |
|
5 */ |
2 |
6 |
3 #ifndef NETWORK_CORE_TCP_H |
7 #ifndef NETWORK_CORE_TCP_H |
4 #define NETWORK_CORE_TCP_H |
8 #define NETWORK_CORE_TCP_H |
5 |
9 |
6 #ifdef ENABLE_NETWORK |
10 #ifdef ENABLE_NETWORK |
7 |
11 |
8 #include "os_abstraction.h" |
12 #include "os_abstraction.h" |
9 #include "core.h" |
13 #include "core.h" |
10 #include "packet.h" |
14 #include "packet.h" |
11 |
|
12 /** |
|
13 * @file tcp.h Basic functions to receive and send TCP packets. |
|
14 */ |
|
15 |
15 |
16 /** |
16 /** |
17 * Enum with all types of UDP packets. |
17 * Enum with all types of UDP packets. |
18 * The order of the first 4 packets MUST not be changed, as |
18 * The order of the first 4 packets MUST not be changed, as |
19 * it protects old clients from joining newer servers |
19 * it protects old clients from joining newer servers |