logger mode

This commit is contained in:
ackimixs
2024-04-29 16:19:26 +02:00
parent 58f3c41a69
commit 08acfd9e79

View File

@@ -13,6 +13,7 @@ int main(int argc, char* argv[]) {
if (argc >= 3) {
loggerMode = (argv[2] == "logger");
}
std::cout << "Launching in logger mode? " << loggerMode ? "Yes" : "No" << std::endl;
TCPClient client("127.0.0.1", port); // Replace "127.0.0.1" with the IP address of your server and 8080 with the port number