diff --git a/rpcs3/Emu/NP/rpcn_client.cpp b/rpcs3/Emu/NP/rpcn_client.cpp index 5d640a2261..f783d0a2ef 100644 --- a/rpcs3/Emu/NP/rpcn_client.cpp +++ b/rpcs3/Emu/NP/rpcn_client.cpp @@ -673,8 +673,10 @@ namespace rpcn if (sockfd) { #ifdef _WIN32 + ::shutdown(sockfd, SD_BOTH); ::closesocket(sockfd); #else + ::shutdown(sockfd, SHUT_RDWR); ::close(sockfd); #endif sockfd = 0;