From e7bc1321ca242b7d799c03ab83a6865f47d56699 Mon Sep 17 00:00:00 2001 From: Kelsey Date: Thu, 21 Aug 2014 18:23:04 -0400 Subject: [PATCH] Putting back in timeout for receiveBytes --- simple_message/src/socket/simple_socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_message/src/socket/simple_socket.cpp b/simple_message/src/socket/simple_socket.cpp index 18ea7cfe..38d31ffa 100644 --- a/simple_message/src/socket/simple_socket.cpp +++ b/simple_message/src/socket/simple_socket.cpp @@ -120,7 +120,7 @@ namespace industrial // Polling the socket results in an "interruptable" socket read. This // allows Control-C to break out of a socket read. Without polling, // a sig-term is required to kill a program in a socket read function. - if (this->rawPoll(0, ready, error)) + if (this->rawPoll(this->SOCKET_POLL_TO, ready, error)) { if(ready) {