Use kcp as QoS module

This commit is contained in:
dijunkun
2023-08-30 17:44:22 +08:00
parent a4cd77dcb0
commit 3c1f7973d0
79 changed files with 14442 additions and 3150 deletions

View File

@@ -22,13 +22,16 @@ int main(int argc, char** argv) {
std::string msg = "Hello world";
int i = 100;
while (i--) {
getchar();
std::cout << "Send msg: " << msg << std::endl;
SendData(peer, msg.data(), msg.size());
// int i = 100;
// while (i--) {
// getchar();
// std::cout << "Send msg: " << msg << std::endl;
// SendData(peer, DATA_TYPE::USER, msg.data(), msg.size());
// }
// getchar();
while (1) {
}
getchar();
return 0;
}