diff --git a/lib/cpp_utils/Socket.cpp b/lib/cpp_utils/Socket.cpp index 75737fd..a79e46c 100644 --- a/lib/cpp_utils/Socket.cpp +++ b/lib/cpp_utils/Socket.cpp @@ -65,13 +65,6 @@ bool Socket::closeSocket() { TRACE; - if (shutdown(m_socket, SHUT_RDWR) == -1) { - LOG_BEGIN(Logger::ERR) - LOG_PROP("Error message", strerror(errno)) - LOG_END("Could not shutdown socket."); - return false; - } - if (close(m_socket) == -1) { LOG_BEGIN(Logger::ERR) LOG_PROP("Error message", strerror(errno))