summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Network.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-20 17:56:04 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-20 17:56:04 +0000
commit4507264c3b6edadfa11f791e1934a20635c7b4c0 (patch)
tree7531315079ec3e5cda83995d6f7dc136f7834bc7 /cppe/src/IceE/Network.cpp
parentBug 483 - Add EHOSTUNREACH to conect failed errors (diff)
downloadice-4507264c3b6edadfa11f791e1934a20635c7b4c0.tar.bz2
ice-4507264c3b6edadfa11f791e1934a20635c7b4c0.tar.xz
ice-4507264c3b6edadfa11f791e1934a20635c7b4c0.zip
Bug 483 - Added EHOSTUNREACH to connect failed reasons
Diffstat (limited to 'cppe/src/IceE/Network.cpp')
-rw-r--r--cppe/src/IceE/Network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cppe/src/IceE/Network.cpp b/cppe/src/IceE/Network.cpp
index 790bd2bd87c..505468b3168 100644
--- a/cppe/src/IceE/Network.cpp
+++ b/cppe/src/IceE/Network.cpp
@@ -87,6 +87,7 @@ IceInternal::connectFailed()
return error == WSAECONNREFUSED ||
error == WSAETIMEDOUT ||
error == WSAENETUNREACH ||
+ error == WSAEHOSTUNREACH ||
error == WSAECONNRESET ||
error == WSAESHUTDOWN ||
error == WSAECONNABORTED;
@@ -94,6 +95,7 @@ IceInternal::connectFailed()
return errno == ECONNREFUSED ||
errno == ETIMEDOUT ||
errno == ENETUNREACH ||
+ errno == EHOSTUNREACH ||
errno == ECONNRESET ||
errno == ESHUTDOWN ||
errno == ECONNABORTED;