host command line parser

This commit is contained in:
ackimixs
2024-05-21 22:24:49 +02:00
parent 9993800a38
commit 2d779a2c6e

View File

@@ -34,7 +34,9 @@ int main(int argc, char* argv[]) {
int port = clParser.getOption<int>("port", 8080);
MyClient client("127.0.0.1", port);
auto host = clParser.getOption("host", "127.0.0.1");
MyClient client(host, port);
client.setTiretteState(true);