diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-10-21 23:25:29 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-10-21 23:25:29 +0200 |
commit | c7b4b9f819e0c1335ece87695599474fc14fcdcf (patch) | |
tree | d640af246fec0ea63c408a57a28c61ee4f5961dd /source/cBlockingTCPLink.cpp | |
parent | Setting files (diff) | |
download | cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.gz cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.bz2 cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.lz cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.xz cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.zst cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.zip |
Diffstat (limited to 'source/cBlockingTCPLink.cpp')
-rw-r--r-- | source/cBlockingTCPLink.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cBlockingTCPLink.cpp b/source/cBlockingTCPLink.cpp index a87809857..6a2208084 100644 --- a/source/cBlockingTCPLink.cpp +++ b/source/cBlockingTCPLink.cpp @@ -1,5 +1,6 @@ #include "cBlockingTCPLink.h"
#include "packets/cPacket.h"
+#include "MCSocket.h"
#include <string>
#include "cMCLogger.h"
@@ -30,7 +31,7 @@ void cBlockingTCPLink::CloseSocket() {
if( m_Socket )
{
- closesocket( m_Socket );
+ m_Socket.CloseSocket();
m_Socket = 0;
}
}
|