mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-22 08:17:43 +00:00
enforce expected recv size during event and server info tcp recv, remove unused instance of CheckBytes function
This commit is contained in:
1 parent
23760da53b
commit
30639abb88
4 files changed
+16
-23
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user