diff options
Diffstat (limited to 'cpp/src/Ice/TcpAcceptor.cpp')
-rw-r--r-- | cpp/src/Ice/TcpAcceptor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/TcpAcceptor.cpp b/cpp/src/Ice/TcpAcceptor.cpp index 0dacc0bdc1a..44531f0c290 100644 --- a/cpp/src/Ice/TcpAcceptor.cpp +++ b/cpp/src/Ice/TcpAcceptor.cpp @@ -115,6 +115,11 @@ IceInternal::TcpAcceptor::TcpAcceptor(const InstancePtr& instance, const string& _fd = createSocket(false); setBlock(_fd, false); getAddress(host, port, _addr); + if(_traceLevels->network >= 2) + { + Trace out(_logger, _traceLevels->networkCat); + out << "attempting to bind to tcp socket\n" << toString(); + } doBind(_fd, _addr); } catch(...) |