From 1436dfb57e2232afaad32c9b0b845c162f544584 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Sat, 6 Apr 2002 03:07:48 +0000 Subject: fixes to collocation detection; removed INADDR_ANY; other fixes --- cpp/src/Ice/Endpoint.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/Ice/Endpoint.cpp') 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; } -- cgit v1.2.3