X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01ba4b6713fd096f5418754d375635237cc08e84..76ff8ed6736af1c5d6fe8ba3280c02ff55b54a6a:/src/unix/gsocket.cpp diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 6e0292a78b..eeee3fa8cc 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -587,7 +587,7 @@ void GSocket::Shutdown() /* If socket has been created, shutdown it */ if (m_fd != INVALID_SOCKET) { - shutdown(m_fd, 2); + shutdown(m_fd, 1); Close(); }