summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslTransceiver.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-12-11 13:50:24 +0000
committerMarc Laukien <marc@zeroc.com>2003-12-11 13:50:24 +0000
commit80a2f14f44ea4e0e8db5726a29fea041aa1ab9a3 (patch)
tree442ce2ec34c763591e440462d87ca6767220a141 /cpp/src/IceSSL/SslTransceiver.cpp
parentUse a single connection with multiple subdirs (diff)
downloadice-80a2f14f44ea4e0e8db5726a29fea041aa1ab9a3.tar.bz2
ice-80a2f14f44ea4e0e8db5726a29fea041aa1ab9a3.tar.xz
ice-80a2f14f44ea4e0e8db5726a29fea041aa1ab9a3.zip
gethostbyname_r
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r--cpp/src/IceSSL/SslTransceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp
index 164c642aec6..c452ad67610 100644
--- a/cpp/src/IceSSL/SslTransceiver.cpp
+++ b/cpp/src/IceSSL/SslTransceiver.cpp
@@ -102,7 +102,7 @@ IceSSL::SslTransceiver::shutdown()
while((shutdown == 0) && (retries < 0));
assert(_fd != INVALID_SOCKET);
- ::shutdown(_fd, SHUT_WR); // Shutdown socket for writing
+ shutdownSocket(_fd);
}
void
@@ -453,7 +453,7 @@ IceSSL::SslTransceiver::internalShutdown(int timeout)
if(retCode == 1)
{
// Shutdown successful - shut down the socket for writing.
- ::shutdown(SSL_get_fd(_sslConnection), SHUT_WR);
+ shutdownSocket(SSL_get_fd(_sslConnection));
}
else if(retCode == -1)
{