add debug command to track statistics and debug client connections

The `debug` command shows info useful to develpers of the client and
server
This commit is contained in:
Lion Kortlepel
2022-10-26 14:15:56 +02:00
parent 692129cb81
commit c717037895
3 changed files with 96 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
#include <array>
#include <boost/asio/ip/address.hpp>
#include <boost/asio/ip/address_v4.hpp>
#include <chrono>
#include <cstring>
std::vector<uint8_t> StringToVector(const std::string& Str) {