enforce expected recv size during event and server info tcp recv, remove unused instance of CheckBytes function

This commit is contained in:
Katharine Chui committed 2026-05-11 12:47:44 +02:00
1 parent 23760da53b
commit 30639abb88
4 files changed
+16 -23

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ extern std::string magic;
int KillSocket(uint64_t Dead);
void UUl(const std::string& R);
void UDPSend(std::string Data);
bool CheckBytes(int32_t Bytes);
bool CheckBytes(int32_t Bytes, int32_t Expected = -1);
void GameSend(std::string_view Data);
void SendLarge(std::string Data);
std::string TCPRcv(uint64_t Sock);