Packet queuing on syncing

This commit is contained in:
Anonymous275
2021-03-07 01:04:54 +02:00
parent f0abfcc0ef
commit 3fe8d48ada
4 changed files with 22 additions and 10 deletions

View File

@@ -17,8 +17,8 @@ public:
void operator()() override;
bool TCPSend(TClient& c, const std::string& Data, bool IsSync = false);
void SendLarge(TClient& c, std::string Data);
void Respond(TClient& c, const std::string& MSG, bool Rel);
void SendLarge(TClient& c, std::string Data, bool isSync = false);
void Respond(TClient& c, const std::string& MSG, bool Rel, bool isSync = false);
std::shared_ptr<TClient> CreateClient(SOCKET TCPSock);
std::string TCPRcv(TClient& c);
void ClientKick(TClient& c, const std::string& R);