Sending noop to TellStick every 5 minutes, attempting to reconnect if TellStick is missing. In Linux.

This commit is contained in:
Stefan Persson 2012-01-10 16:00:14 +01:00
parent dfae48ef33
commit 673daf471d
5 changed files with 53 additions and 3 deletions

View file

@ -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) {