equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
|
2 |
|
3 /** |
|
4 * @file tcp.cpp Basic functions to receive and send TCP 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" |
11 |
15 |
12 #include "../network_data.h" |
16 #include "../network_data.h" |
13 #include "packet.h" |
17 #include "packet.h" |
14 #include "tcp.h" |
18 #include "tcp.h" |
15 #include "../../helpers.hpp" |
19 #include "../../helpers.hpp" |
16 |
|
17 /** |
|
18 * @file tcp.cpp Basic functions to receive and send TCP packets. |
|
19 */ |
|
20 |
20 |
21 /** Very ugly temporary hack !!! */ |
21 /** Very ugly temporary hack !!! */ |
22 void NetworkTCPSocketHandler::Initialize() |
22 void NetworkTCPSocketHandler::Initialize() |
23 { |
23 { |
24 this->sock = INVALID_SOCKET; |
24 this->sock = INVALID_SOCKET; |