diff options
author | rubidium <rubidium@openttd.org> | 2009-04-07 20:27:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-07 20:27:13 +0000 |
commit | 2a6e9288fd9e238c2f0b68243fced9e3cf794100 (patch) | |
tree | 6cab21c9baf3fb1ca74033e132561b40ed015d91 /src/network/core/tcp.cpp | |
parent | 6db7f15b3ad8addb7187bec3d309a4e6481ac431 (diff) | |
download | openttd-2a6e9288fd9e238c2f0b68243fced9e3cf794100.tar.xz |
(svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets.
Diffstat (limited to 'src/network/core/tcp.cpp')
-rw-r--r-- | src/network/core/tcp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp index 1ed8b618c..a80defb4c 100644 --- a/src/network/core/tcp.cpp +++ b/src/network/core/tcp.cpp @@ -13,8 +13,9 @@ #include "tcp.h" NetworkTCPSocketHandler::NetworkTCPSocketHandler(SOCKET s) : - NetworkSocketHandler(s), - packet_queue(NULL), packet_recv(NULL), writable(false) + NetworkSocketHandler(), + packet_queue(NULL), packet_recv(NULL), + sock(s), writable(false) { } |