mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +00:00
Added Debug Info
This commit is contained in:
parent
3aeb2cae1b
commit
2eb97e123c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user