diff options
Diffstat (limited to 'cpp/src/Ice/winrt/StreamAcceptor.cpp')
-rw-r--r-- | cpp/src/Ice/winrt/StreamAcceptor.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/cpp/src/Ice/winrt/StreamAcceptor.cpp b/cpp/src/Ice/winrt/StreamAcceptor.cpp index dd113e904c9..9ccf10cf685 100644 --- a/cpp/src/Ice/winrt/StreamAcceptor.cpp +++ b/cpp/src/Ice/winrt/StreamAcceptor.cpp @@ -160,14 +160,13 @@ IceInternal::StreamAcceptor::effectivePort() const return getPort(_addr); } -IceInternal::StreamAcceptor::StreamAcceptor(const InstancePtr& instance, Ice::Short type, const string& host, int port, - ProtocolSupport protocol) : - _instance(instance), - _type(type), - _traceLevels(instance->traceLevels()), - _logger(instance->initializationData().logger), - _addr(getAddressForServer(host, port, protocol)), - _acceptPending(false) +IceInternal::StreamAcceptor::StreamAcceptor(const InstancePtr& instance, Ice::Short type, const string& host, int port) + : _instance(instance), + _type(type), + _traceLevels(instance->traceLevels()), + _logger(instance->initializationData().logger), + _addr(getAddressForServer(host, port, _instance->protocolSupport(), instance->preferIPv6())), + _acceptPending(false) { _fd = ref new StreamSocketListener(); |