Skip to content

Commit 2448a4d

Browse files
committed
elim dead code
1 parent b661934 commit 2448a4d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

example/echo_binary_text_client_demo.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,13 @@ int main(int argc, char* argv[]) {
182182
shutdown = true;
183183
continue;
184184
}
185+
186+
// REPLACEMMENT FOR THIS FUNCTIONALITY?
185187
// @c tcp.iof is not valid when there is no network connection
186-
if (!tcp_iof.is_valid()) {
187-
std::cout << "no connection..." << std::endl;
188-
continue; // back to top of loop
189-
}
188+
// if (!tcp_iof.is_valid()) {
189+
// std::cout << "no connection..." << std::endl;
190+
// continue; // back to top of loop
191+
// }
190192

191193
// buffer to send entered message from user
192194
chops::mutable_shared_buffer buf_out;

0 commit comments

Comments
 (0)