summaryrefslogtreecommitdiffstats
path: root/source/cBlockingTCPLink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cBlockingTCPLink.cpp')
-rw-r--r--source/cBlockingTCPLink.cpp3
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;
}
}