summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpConnector.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-12-19 22:06:38 +0100
committerBenoit Foucher <benoit@zeroc.com>2007-12-19 22:06:38 +0100
commitf6121ea342641eb36f7cd67c7c877a1c70ec3055 (patch)
treeb545f3a2548b81fd8dd56a87a58f98b992c0066b /cpp/src/Ice/TcpConnector.h
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-f6121ea342641eb36f7cd67c7c877a1c70ec3055.tar.bz2
ice-f6121ea342641eb36f7cd67c7c877a1c70ec3055.tar.xz
ice-f6121ea342641eb36f7cd67c7c877a1c70ec3055.zip
- Merge IPv6 support from Dwayne's branch.
- Reviewed and fixed IPv6 bugs. - Fixed bug in the outgoing connection factory where an assert could be triggered if the proxy contained identical endpoints
Diffstat (limited to 'cpp/src/Ice/TcpConnector.h')
-rw-r--r--cpp/src/Ice/TcpConnector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/TcpConnector.h b/cpp/src/Ice/TcpConnector.h
index 2147f30cccc..28c42c064b8 100644
--- a/cpp/src/Ice/TcpConnector.h
+++ b/cpp/src/Ice/TcpConnector.h
@@ -19,7 +19,7 @@
#ifdef _WIN32
# include <winsock2.h>
#else
-# include <netinet/in.h> // For struct sockaddr_in
+# include <netinet/in.h> // For struct sockaddr_storage
#endif
namespace IceInternal
@@ -40,14 +40,14 @@ public:
private:
- TcpConnector(const InstancePtr&, const struct sockaddr_in&, Ice::Int, const std::string&);
+ TcpConnector(const InstancePtr&, const struct sockaddr_storage&, Ice::Int, const std::string&);
virtual ~TcpConnector();
friend class TcpEndpointI;
const InstancePtr _instance;
const TraceLevelsPtr _traceLevels;
const ::Ice::LoggerPtr _logger;
- struct sockaddr_in _addr;
+ struct sockaddr_storage _addr;
const Ice::Int _timeout;
const std::string _connectionId;
};