X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28bf2f3c66b38f65ab98881610b90639f8ef18cc..c94f845b1602d44ccd7c7542afffde666adbb2f0:/src/msw/gsocket.cpp diff --git a/src/msw/gsocket.cpp b/src/msw/gsocket.cpp index c107146e2c..2edc3ab247 100644 --- a/src/msw/gsocket.cpp +++ b/src/msw/gsocket.cpp @@ -222,7 +222,7 @@ void GSocket::Shutdown() /* If socket has been created, shutdown it */ if (m_fd != INVALID_SOCKET) { - shutdown(m_fd, 2); + shutdown(m_fd, 1 /* SD_SEND */); Close(); }