diff options
author | Tobias Frust <tobiasfrust@gmail.com> | 2016-06-30 15:22:07 +0200 |
---|---|---|
committer | Tobias Frust <tobiasfrust@gmail.com> | 2016-06-30 15:22:07 +0200 |
commit | 0c33319451deec9b5461b57856423bc619817245 (patch) | |
tree | 2d5be787fb4d4e052e72aaf01ccf095874c46f2e /src/UDPClient/UDPClient.cpp | |
parent | dbf28e725f062744222559257abe64d8a39a9d50 (diff) | |
download | ods-0c33319451deec9b5461b57856423bc619817245.tar.gz ods-0c33319451deec9b5461b57856423bc619817245.tar.bz2 ods-0c33319451deec9b5461b57856423bc619817245.tar.xz ods-0c33319451deec9b5461b57856423bc619817245.zip |
added classes for detector; Sending out in n different streams with n different ports
Diffstat (limited to 'src/UDPClient/UDPClient.cpp')
-rw-r--r-- | src/UDPClient/UDPClient.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UDPClient/UDPClient.cpp b/src/UDPClient/UDPClient.cpp index 844b7f9..1d427ba 100644 --- a/src/UDPClient/UDPClient.cpp +++ b/src/UDPClient/UDPClient.cpp @@ -50,6 +50,7 @@ UDPClient::UDPClient(const std::string& addr, int port) : f_port(port) , f_addr(addr){ + printf("Creating client %d\n", f_port); char decimal_port[16]; snprintf(decimal_port, sizeof(decimal_port), "%d", f_port); decimal_port[sizeof(decimal_port) / sizeof(decimal_port[0]) - 1] = '\0'; @@ -69,6 +70,7 @@ freeaddrinfo(f_addrinfo); throw udp_client_server_runtime_error(("could not create socket for: \"" + addr + ":" + decimal_port + "\"").c_str()); } + printf("Created client %d\n", f_port); } /** \brief Clean up the UDP client object. |