Commit 2c40066e357333f4b8f3faeb46f33d18f97389a0
Committed by
Moritz Wirger
1 parent
ef847742
remove debug prints in receive methods of winHttpHandler
Showing
1 changed file
with
4 additions
and
4 deletions
hueplusplus/winHttpHandler.cpp
| @@ -119,12 +119,12 @@ std::string winHttpHandler::send(const std::string & msg, const std::string & ad | @@ -119,12 +119,12 @@ std::string winHttpHandler::send(const std::string & msg, const std::string & ad | ||
| 119 | res = recv(connect_socket, recvbuf, recvbuflen, 0); | 119 | res = recv(connect_socket, recvbuf, recvbuflen, 0); |
| 120 | if (res > 0) | 120 | if (res > 0) |
| 121 | { | 121 | { |
| 122 | - std::cout << "winHttpHandler: Bytes received: " << res << std::endl; | 122 | + //std::cout << "winHttpHandler: Bytes received: " << res << std::endl; |
| 123 | response.append(recvbuf, res); | 123 | response.append(recvbuf, res); |
| 124 | } | 124 | } |
| 125 | else if (res == 0) | 125 | else if (res == 0) |
| 126 | { | 126 | { |
| 127 | - std::cout << "winHttpHandler: Connection closed " << std::endl; | 127 | + //std::cout << "winHttpHandler: Connection closed " << std::endl; |
| 128 | } | 128 | } |
| 129 | else | 129 | else |
| 130 | { | 130 | { |
| @@ -226,12 +226,12 @@ std::vector<std::string> winHttpHandler::sendMulticast(const std::string & msg, | @@ -226,12 +226,12 @@ std::vector<std::string> winHttpHandler::sendMulticast(const std::string & msg, | ||
| 226 | res = recv(connect_socket, recvbuf, recvbuflen, 0); | 226 | res = recv(connect_socket, recvbuf, recvbuflen, 0); |
| 227 | if (res > 0) | 227 | if (res > 0) |
| 228 | { | 228 | { |
| 229 | - std::cout << "winHttpHandler: sendMulticast: Bytes received: " << res << std::endl; | 229 | + //std::cout << "winHttpHandler: sendMulticast: Bytes received: " << res << std::endl; |
| 230 | response.append(recvbuf, res); | 230 | response.append(recvbuf, res); |
| 231 | } | 231 | } |
| 232 | else if (res == 0) | 232 | else if (res == 0) |
| 233 | { | 233 | { |
| 234 | - std::cout << "winHttpHandler: sendMulticast: Connection closed " << std::endl; | 234 | + //std::cout << "winHttpHandler: sendMulticast: Connection closed " << std::endl; |
| 235 | } | 235 | } |
| 236 | else | 236 | else |
| 237 | { | 237 | { |