diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-08 11:02:46 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-08 11:02:46 +0100 |
commit | c82c636d8c9ac24c1e73740c35b3a93525783a3d (patch) | |
tree | 45c6bd08dc95ac8509834c35096ced5732db3d7a /source/cSocket.h | |
parent | cSocket: final localhost fix - made it a function (forgotten file) (diff) | |
download | cuberite-c82c636d8c9ac24c1e73740c35b3a93525783a3d.tar cuberite-c82c636d8c9ac24c1e73740c35b3a93525783a3d.tar.gz cuberite-c82c636d8c9ac24c1e73740c35b3a93525783a3d.tar.bz2 cuberite-c82c636d8c9ac24c1e73740c35b3a93525783a3d.tar.lz cuberite-c82c636d8c9ac24c1e73740c35b3a93525783a3d.tar.xz cuberite-c82c636d8c9ac24c1e73740c35b3a93525783a3d.tar.zst cuberite-c82c636d8c9ac24c1e73740c35b3a93525783a3d.zip |
Diffstat (limited to 'source/cSocket.h')
-rw-r--r-- | source/cSocket.h | 3 |
1 files changed, 3 insertions, 0 deletions
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();
|