mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 20:37:50 +02:00
Fixed hanging bug
This commit is contained in:
@ -36,6 +36,7 @@ namespace net {
|
||||
#ifdef _WIN32
|
||||
closesocket(_sock);
|
||||
#else
|
||||
::shutdown(_sock, SHUT_RDWR);
|
||||
::close(_sock);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user