summaryrefslogtreecommitdiff
path: root/cppe
diff options
context:
space:
mode:
Diffstat (limited to 'cppe')
-rw-r--r--cppe/src/IceE/Network.cpp2
-rw-r--r--cppe/src/IceE/RouterInfoF.h36
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