Timeout not infinite for client reads after sending
This commit is contained in:
parent
48a055a061
commit
8da5bf1ae5
3 changed files with 7 additions and 2 deletions
|
@ -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(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue