X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01ba4b6713fd096f5418754d375635237cc08e84..96360917d3c000e479ec64806b96188342eea260:/src/unix/gsocket.cpp?ds=sidebyside 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(); }