summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_admin.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 13:29:40 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 13:29:40 +0000
commit99ec3a044aab32e0fe4aea03a5539cf0e4f129e9 (patch)
tree8d9cdc4b81d2d7c4a9ca505656b837777e38092a /src/network/core/tcp_admin.cpp
parent536c581923e456ed6a0d1a47747b7c9e111d8755 (diff)
downloadopenttd-99ec3a044aab32e0fe4aea03a5539cf0e4f129e9.tar.xz
(svn r22403) -Document: some more network/core code
Diffstat (limited to 'src/network/core/tcp_admin.cpp')
-rw-r--r--src/network/core/tcp_admin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/core/tcp_admin.cpp b/src/network/core/tcp_admin.cpp
index f7d982825..077ac3048 100644
--- a/src/network/core/tcp_admin.cpp
+++ b/src/network/core/tcp_admin.cpp
@@ -19,6 +19,10 @@
#include "tcp_admin.h"
#include "../../debug.h"
+/**
+ * Create the admin handler for the given socket.
+ * @param s The socket to communicate over.
+ */
NetworkAdminSocketHandler::NetworkAdminSocketHandler(SOCKET s)
{
this->sock = s;