summaryrefslogtreecommitdiff
path: root/cppe/src/TcpTransport/Transceiver.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-02-20 11:15:21 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-02-20 11:15:21 +0000
commitc88fa86645b82d2beea6e98f139d46063b59910a (patch)
tree552ed35ccbc73aceb265212e6cba3a35540b97b9 /cppe/src/TcpTransport/Transceiver.cpp
parentWin32 fix for socket timeouts. (diff)
downloadice-c88fa86645b82d2beea6e98f139d46063b59910a.tar.bz2
ice-c88fa86645b82d2beea6e98f139d46063b59910a.tar.xz
ice-c88fa86645b82d2beea6e98f139d46063b59910a.zip
More Win32 socket timeout fixes
Diffstat (limited to 'cppe/src/TcpTransport/Transceiver.cpp')
-rw-r--r--cppe/src/TcpTransport/Transceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/TcpTransport/Transceiver.cpp b/cppe/src/TcpTransport/Transceiver.cpp
index 596d4c3da8c..f3bb4715748 100644
--- a/cppe/src/TcpTransport/Transceiver.cpp
+++ b/cppe/src/TcpTransport/Transceiver.cpp
@@ -142,7 +142,7 @@ IceInternal::Transceiver::write(Buffer& buf, int timeout)
}
#ifndef ICEE_USE_SELECT_FOR_TIMEOUTS
- if(wouldBlock())
+ if(timedout())
{
throw TimeoutException(__FILE__, __LINE__);
}
@@ -255,7 +255,7 @@ IceInternal::Transceiver::read(Buffer& buf, int timeout)
}
#ifndef ICEE_USE_SELECT_FOR_TIMEOUTS
- if(wouldBlock())
+ if(timedout())
{
throw TimeoutException(__FILE__, __LINE__);
}