logger mode

This commit is contained in:
ackimixs
2024-04-29 16:17:51 +02:00
parent d03d28aa8e
commit 58f3c41a69

View File

@@ -11,7 +11,7 @@ int main(int argc, char* argv[]) {
bool loggerMode = false;
if (argc >= 3) {
loggerMode = std::stoi(argv[2]);
loggerMode = (argv[2] == "logger");
}
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