mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-07 16:26:04 +00:00
shutdown the socket on linux as well
This commit is contained in:
@@ -84,6 +84,7 @@ void Check(SOCKET TCPSock, std::reference_wrapper<std::atomic_bool> ok){
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
accum += 100;
|
||||
if (accum >= 5000) {
|
||||
error(Sec("Identification timed out (Check accum)"));
|
||||
closesocket(TCPSock);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user