Sending noop to TellStick every 5 minutes, attempting to reconnect if TellStick is missing. In Linux.
This commit is contained in:
parent
dfae48ef33
commit
673daf471d
5 changed files with 53 additions and 3 deletions
|
@ -114,6 +114,7 @@ std::wstring Socket::read(int timeout) {
|
|||
void Socket::stopReadWait(){
|
||||
TelldusCore::MutexLocker locker(&d->mutex);
|
||||
d->connected = false;
|
||||
//TODO somehow signal the socket here?
|
||||
}
|
||||
|
||||
void Socket::write(const std::wstring &msg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue