summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:20 +0000
committerfcolin2007-02-01 13:05:20 +0000
commit4dc018c4099fb393f7619c8f7c5743bc4633cbc0 (patch)
tree9cad6ca40ef2b011950653d6df1dc3fbc8cf02a9 /Bus/Ivy
parent7777fde10e0bb9632551c13624a5122b3735d7d8 (diff)
downloadivy-cplusplus-4dc018c4099fb393f7619c8f7c5743bc4633cbc0.zip
ivy-cplusplus-4dc018c4099fb393f7619c8f7c5743bc4633cbc0.tar.gz
ivy-cplusplus-4dc018c4099fb393f7619c8f7c5743bc4633cbc0.tar.bz2
ivy-cplusplus-4dc018c4099fb393f7619c8f7c5743bc4633cbc0.tar.xz
Utilisateur : Fcolin Date : 14/11/02 Heure : 15:45 Archivé dans $/Bus/Ivy Commentaire: (vss 17)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r--Bus/Ivy/ThreadedSocket.cxx6
1 files changed, 3 insertions, 3 deletions
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;