mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Robustify the server discovery.
This commit is contained in:
parent
8184a785b7
commit
f4dd02a9aa
4
HISTORY
4
HISTORY
@ -120,3 +120,7 @@ VDR Plugin 'satip' Revision History
|
||||
- Fixed memory deallocation errors.
|
||||
- Cleaned up all scan-build warnings.
|
||||
- Refactored the frontend handling.
|
||||
|
||||
2015-XX-XX: Version 2.2.1
|
||||
|
||||
- Robustify the server discovery.
|
||||
|
@ -45,6 +45,9 @@ void cSatipMsearch::Probe(void)
|
||||
cSatipPoller::GetInstance()->Register(*this);
|
||||
registeredM = true;
|
||||
}
|
||||
// Send two queries with one second interval
|
||||
Write(bcastAddressS, reinterpret_cast<const unsigned char *>(bcastMessageS), strlen(bcastMessageS));
|
||||
cCondWait::SleepMs(1000);
|
||||
Write(bcastAddressS, reinterpret_cast<const unsigned char *>(bcastMessageS), strlen(bcastMessageS));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user