summaryrefslogtreecommitdiff
path: root/Ivy/ThreadedSocket.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:20 +0000
committerfcolin2007-02-01 13:05:20 +0000
commit5d97d1f9916d4c8a7880b965200b0d95510e6dfc (patch)
treea174e05e6651891f854ed3c62c9eed276bcbb8ec /Ivy/ThreadedSocket.cxx
parent5d015386435c0c79ac5b973cd86d8c74c5d6d326 (diff)
downloadivy-cplusplus-5d97d1f9916d4c8a7880b965200b0d95510e6dfc.zip
ivy-cplusplus-5d97d1f9916d4c8a7880b965200b0d95510e6dfc.tar.gz
ivy-cplusplus-5d97d1f9916d4c8a7880b965200b0d95510e6dfc.tar.bz2
ivy-cplusplus-5d97d1f9916d4c8a7880b965200b0d95510e6dfc.tar.xz
Utilisateur : Fcolin Date : 14/11/02 Heure : 15:45 Archivé dans $/Bus/Ivy Commentaire: (vss 17)
Diffstat (limited to 'Ivy/ThreadedSocket.cxx')
-rw-r--r--Ivy/ThreadedSocket.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ivy/ThreadedSocket.cxx b/Ivy/ThreadedSocket.cxx
index 19670f7..31bcf18 100644
--- a/Ivy/ThreadedSocket.cxx
+++ b/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;