From 850a2735cc2f3806703a1f107c9f73533d750e7c Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 14 Jan 2009 12:50:13 +0000 Subject: (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. --- src/network/core/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/core/core.h') diff --git a/src/network/core/core.h b/src/network/core/core.h index 272d44adc..c1605d46d 100644 --- a/src/network/core/core.h +++ b/src/network/core/core.h @@ -43,7 +43,7 @@ public: SOCKET sock; ///< The socket currently connected to public: /** Create a new unbound socket */ - NetworkSocketHandler() { this->sock = INVALID_SOCKET; this->has_quit = false; } + NetworkSocketHandler(SOCKET s = INVALID_SOCKET) { this->sock = s; this->has_quit = false; } /** Close the socket when distructing the socket handler */ virtual ~NetworkSocketHandler() { this->Close(); } -- cgit v1.2.3-54-g00ecf