Timeout not infinite for client reads after sending

This commit is contained in:
Stefan Persson 2010-10-21 14:52:24 +00:00
parent 48a055a061
commit 8da5bf1ae5
3 changed files with 7 additions and 2 deletions

View file

@ -167,7 +167,7 @@ std::wstring Client::sendToService(const Message &msg) {
s.connect(L"TelldusClient");
s.write(msg.data());
return s.read();
return s.read(500);
}
void Client::stopThread(){