summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpTransceiver.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-10-27 20:40:05 +0000
committerMarc Laukien <marc@zeroc.com>2004-10-27 20:40:05 +0000
commit299cf60f65d06b32f5f85187f4f84a2d2a94582b (patch)
treeb4f3916d07486d70141e52ad4182218d0bcb873c /cpp/src/Ice/TcpTransceiver.cpp
parentcomment fixes (diff)
downloadice-299cf60f65d06b32f5f85187f4f84a2d2a94582b.tar.bz2
ice-299cf60f65d06b32f5f85187f4f84a2d2a94582b.tar.xz
ice-299cf60f65d06b32f5f85187f4f84a2d2a94582b.zip
fix
Diffstat (limited to 'cpp/src/Ice/TcpTransceiver.cpp')
-rw-r--r--cpp/src/Ice/TcpTransceiver.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Ice/TcpTransceiver.cpp b/cpp/src/Ice/TcpTransceiver.cpp
index b5d5d880bc4..43c76a93dde 100644
--- a/cpp/src/Ice/TcpTransceiver.cpp
+++ b/cpp/src/Ice/TcpTransceiver.cpp
@@ -321,14 +321,15 @@ IceInternal::TcpTransceiver::type() const
string
IceInternal::TcpTransceiver::toString() const
{
- return fdToString(_fd);
+ return _desc;
}
IceInternal::TcpTransceiver::TcpTransceiver(const InstancePtr& instance, SOCKET fd) :
_traceLevels(instance->traceLevels()),
_logger(instance->logger()),
_stats(instance->stats()),
- _fd(fd)
+ _fd(fd),
+ _desc(fdToString(fd))
{
FD_ZERO(&_rFdSet);
FD_ZERO(&_wFdSet);