summaryrefslogtreecommitdiffstats
path: root/source/cTCPLink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cTCPLink.cpp')
-rw-r--r--source/cTCPLink.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cTCPLink.cpp b/source/cTCPLink.cpp
index 13eb593ef..0efc0254f 100644
--- a/source/cTCPLink.cpp
+++ b/source/cTCPLink.cpp
@@ -2,6 +2,7 @@
#include "cSocket.h"
#include "cEvent.h"
#include "cThread.h"
+#include "MCSocket.h"
#include "cMCLogger.h"
@@ -37,7 +38,7 @@ void cTCPLink::CloseSocket()
{
if( m_Socket )
{
- closesocket( m_Socket );
+ m_Socket.CloseSocket();
m_Socket = 0;
}
}