From 4dc018c4099fb393f7619c8f7c5743bc4633cbc0 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:05:20 +0000 Subject: Utilisateur : Fcolin Date : 14/11/02 Heure : 15:45 Archivé dans $/Bus/Ivy Commentaire: (vss 17) --- Bus/Ivy/ThreadedSocket.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bus') diff --git a/Bus/Ivy/ThreadedSocket.cxx b/Bus/Ivy/ThreadedSocket.cxx index 19670f7..31bcf18 100644 --- a/Bus/Ivy/ThreadedSocket.cxx +++ b/Bus/Ivy/ThreadedSocket.cxx @@ -138,7 +138,8 @@ void CThreadedSocket::Close() { if (m_hSocket != INVALID_SOCKET) { - ASSERT(SOCKET_ERROR != closesocket(m_hSocket)); + //ASSERT(SOCKET_ERROR != closesocket(m_hSocket)); + closesocket(m_hSocket); // close silently m_hSocket = INVALID_SOCKET; } @@ -419,8 +420,7 @@ UINT CThreadedSocket::SocketReader( ) TRACE( "CThreadedSocket::SocketReader( select error thread_id =( %d) )\n",reader_id); - if (m_hSocket != INVALID_SOCKET) - Close(); + Close(); h_reader = NULL; return sock_err; break; -- cgit v1.1