From c82c636d8c9ac24c1e73740c35b3a93525783a3d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 8 Feb 2012 10:02:46 +0000 Subject: cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties. git-svn-id: http://mc-server.googlecode.com/svn/trunk@244 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSocket.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/cSocket.h') diff --git a/source/cSocket.h b/source/cSocket.h index b98741c4b..81749048b 100644 --- a/source/cSocket.h +++ b/source/cSocket.h @@ -29,6 +29,9 @@ public: operator const xSocket() const; xSocket GetSocket() const; + + bool operator == (const cSocket & a_Other) {return m_Socket == a_Other.m_Socket; } + void SetSocket( xSocket a_Socket ); int SetReuseAddress(); -- cgit v1.2.3