diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-06 03:07:48 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-06 03:07:48 +0000 |
commit | 1436dfb57e2232afaad32c9b0b845c162f544584 (patch) | |
tree | 828658d86aeb9bb1f404ac34f77ae20cd863e379 /cpp/src/Ice/Endpoint.cpp | |
parent | fixes (diff) | |
download | ice-1436dfb57e2232afaad32c9b0b845c162f544584.tar.bz2 ice-1436dfb57e2232afaad32c9b0b845c162f544584.tar.xz ice-1436dfb57e2232afaad32c9b0b845c162f544584.zip |
fixes to collocation detection; removed INADDR_ANY; other fixes
Diffstat (limited to 'cpp/src/Ice/Endpoint.cpp')
-rw-r--r-- | cpp/src/Ice/Endpoint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/Endpoint.cpp b/cpp/src/Ice/Endpoint.cpp index b88afdc2bcf..5af0812e83c 100644 --- a/cpp/src/Ice/Endpoint.cpp +++ b/cpp/src/Ice/Endpoint.cpp @@ -467,7 +467,7 @@ IceInternal::TcpEndpoint::connector() const AcceptorPtr IceInternal::TcpEndpoint::acceptor(EndpointPtr& endp) const { - TcpAcceptor* p = new TcpAcceptor(_instance, _port); + TcpAcceptor* p = new TcpAcceptor(_instance, _host, _port); endp = new TcpEndpoint(_instance, _host, p->effectivePort(), _timeout); return p; } @@ -802,7 +802,7 @@ IceInternal::SslEndpoint::connector() const AcceptorPtr IceInternal::SslEndpoint::acceptor(EndpointPtr& endp) const { - SslAcceptor* p = new SslAcceptor(_instance, _port); + SslAcceptor* p = new SslAcceptor(_instance, _host, _port); endp = new SslEndpoint(_instance, _host, p->effectivePort(), _timeout); return p; } @@ -1119,7 +1119,7 @@ IceInternal::UdpEndpoint::clientTransceiver() const TransceiverPtr IceInternal::UdpEndpoint::serverTransceiver(EndpointPtr& endp) const { - UdpTransceiver* p = new UdpTransceiver(_instance, _port, _connect); + UdpTransceiver* p = new UdpTransceiver(_instance, _host, _port, _connect); endp = new UdpEndpoint(_instance, _host, p->effectivePort()); return p; } |