Skip to content

Commit

Permalink
Putting back in timeout for receiveBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
kphawkins committed Aug 21, 2014
1 parent e00a9f7 commit e7bc132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_message/src/socket/simple_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e7bc132

Please sign in to comment.