remove invalid flag

This commit is contained in:
Lion Kortlepel
2024-10-13 23:42:07 +02:00
committed by Tixx
parent fd398ed5ab
commit 7d00d489e4
16 changed files with 16 additions and 2633 deletions

View File

@@ -65,7 +65,7 @@ void GameSend(std::string_view Data) {
static std::mutex Lock;
std::scoped_lock Guard(Lock);
auto ToSend = Utils::PrependHeader<std::string_view>(Data);
auto Result = send(CSocket, ToSend.data(), ToSend.size(), MSG_WAITALL);
auto Result = send(CSocket, ToSend.data(), ToSend.size(), 0);
if (Result < 0) {
error("(Game) send failed with error: " + std::to_string(WSAGetLastError()));
}