diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-09-20 17:56:04 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-09-20 17:56:04 +0000 |
commit | 4507264c3b6edadfa11f791e1934a20635c7b4c0 (patch) | |
tree | 7531315079ec3e5cda83995d6f7dc136f7834bc7 /cppe/src | |
parent | Bug 483 - Add EHOSTUNREACH to conect failed errors (diff) | |
download | ice-4507264c3b6edadfa11f791e1934a20635c7b4c0.tar.bz2 ice-4507264c3b6edadfa11f791e1934a20635c7b4c0.tar.xz ice-4507264c3b6edadfa11f791e1934a20635c7b4c0.zip |
Bug 483 - Added EHOSTUNREACH to connect failed reasons
Diffstat (limited to 'cppe/src')
-rw-r--r-- | cppe/src/IceE/Network.cpp | 2 | ||||
-rw-r--r-- | cppe/src/IceE/RouterInfoF.h | 36 |
2 files changed, 38 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; diff --git a/cppe/src/IceE/RouterInfoF.h b/cppe/src/IceE/RouterInfoF.h new file mode 100644 index 00000000000..33f02b33a01 --- /dev/null +++ b/cppe/src/IceE/RouterInfoF.h @@ -0,0 +1,36 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +// +// This copy of Ice-E is licensed to you under the terms described in the +// ICEE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICEE_ROUTER_INFO_F_H +#define ICEE_ROUTER_INFO_F_H + +#include <IceE/Config.h> + +#ifdef ICEE_HAS_ROUTER + +#include <IceE/Handle.h> + +namespace IceInternal +{ + +class RouterManager; +void incRef(RouterManager*); +void decRef(RouterManager*); +typedef Handle<RouterManager> RouterManagerPtr; + +class RouterInfo; +void incRef(RouterInfo*); +void decRef(RouterInfo*); +typedef Handle<RouterInfo> RouterInfoPtr; + +} + +#endif + +#endif |