mirror of
https://github.com/modelec/TCPSocketClient.git
synced 2026-01-18 16:37:35 +01:00
logger mode
This commit is contained in:
@@ -13,7 +13,7 @@ int main(int argc, char* argv[]) {
|
|||||||
if (argc >= 3) {
|
if (argc >= 3) {
|
||||||
loggerMode = (argv[2] == "logger");
|
loggerMode = (argv[2] == "logger");
|
||||||
}
|
}
|
||||||
std::cout << "Launching in logger mode? " << loggerMode ? "Yes" : "No" << std::endl;
|
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
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user