diff options
author | Marc Laukien <marc@zeroc.com> | 2003-12-11 13:50:24 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-12-11 13:50:24 +0000 |
commit | 80a2f14f44ea4e0e8db5726a29fea041aa1ab9a3 (patch) | |
tree | 442ce2ec34c763591e440462d87ca6767220a141 /cpp/src/IceSSL/SslTransceiver.cpp | |
parent | Use a single connection with multiple subdirs (diff) | |
download | ice-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.cpp | 4 |
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) { |