From 2eb97e123c529b38a787efa09a873eb8e14428ca Mon Sep 17 00:00:00 2001 From: Anonymous275 Date: Sat, 18 Apr 2020 00:50:25 +0300 Subject: [PATCH] Added Debug Info --- proxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy.cpp b/proxy.cpp index 98256bc..e6143cb 100644 --- a/proxy.cpp +++ b/proxy.cpp @@ -118,7 +118,7 @@ void RUDPClientThread(const std::string& IP, int Port){ RUDPToSend.front().length()+1, ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT); enet_peer_send(client.peer, 0, packet); - std::cout << "(Launcher->Server) sending : " << RUDPToSend.front() << std::endl; + std::cout << "(Launcher->Server) sending " << RUDPToSend.front().length() << " Bytes" << std::endl; RUDPToSend.pop(); } while(RUDPToSend.empty() && Interval < 1000){ @@ -241,7 +241,7 @@ void TCPServerThread(const std::string& IP, int Port){ std::string buff = recvbuf; buff.resize(iResult); RUDPToSend.push(buff); - std::cout << "(Game->Launcher) Data : " << buff.c_str() << std::endl; + ///std::cout << "(Game->Launcher) Data : " << buff.c_str() << std::endl; } else if (iResult == 0) { std::cout << "(Proxy) Connection closing...\n"; closesocket(ClientSocket);