diff options
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r-- | src/network/core/tcp.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index bdb4253cd..d14de7cc1 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -58,13 +58,8 @@ private: bool killed; ///< Whether we got killed SOCKET sock; ///< The socket we're connecting with - /** The actual connection function */ void Connect(); - /** - * Entry point for the new threads. - * @param param the TCPConnecter instance to call Connect on. - */ static void ThreadEntry(void *param); protected: @@ -72,10 +67,6 @@ protected: NetworkAddress address; public: - /** - * Create a new connecter for the given address - * @param address the (un)resolved address to connect to - */ TCPConnecter(const NetworkAddress &address); /** Silence the warnings */ virtual ~TCPConnecter() {} @@ -91,15 +82,7 @@ public: */ virtual void OnFailure() {} - /** - * Check whether we need to call the callback, i.e. whether we - * have connected or aborted and call the appropriate callback - * for that. It's done this way to ease on the locking that - * would otherwise be needed everywhere. - */ static void CheckCallbacks(); - - /** Kill all connection attempts. */ static void KillAll(); }; |