mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-09 01:06:25 +00:00
CloseSocketProper instead of closesocket
This commit is contained in:
@@ -323,7 +323,7 @@ void LOOP() {
|
||||
error(Sec("fatal: ") + std::string(e.what()));
|
||||
}
|
||||
}
|
||||
/*closesocket(UDPSock);
|
||||
/*CloseSocketProper(UDPSock);
|
||||
WSACleanup();
|
||||
return;*/
|
||||
#else // unix
|
||||
@@ -369,7 +369,7 @@ void LOOP() {
|
||||
error(Sec("fatal: ") + std::string(e.what()));
|
||||
}
|
||||
}
|
||||
/*closesocket(UDPSock); // TODO: Why not this? We did this in TCPServerMain?
|
||||
/*CloseSocketProper(UDPSock); // TODO: Why not this? We did this in TCPServerMain?
|
||||
return;
|
||||
*/
|
||||
#endif // WIN32
|
||||
|
||||
Reference in New Issue
Block a user