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.
|
- Fixed memory deallocation errors.
|
||||||
- Cleaned up all scan-build warnings.
|
- Cleaned up all scan-build warnings.
|
||||||
- Refactored the frontend handling.
|
- 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);
|
cSatipPoller::GetInstance()->Register(*this);
|
||||||
registeredM = true;
|
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));
|
Write(bcastAddressS, reinterpret_cast<const unsigned char *>(bcastMessageS), strlen(bcastMessageS));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
satip.c
2
satip.c
@ -27,7 +27,7 @@
|
|||||||
#define GITVERSION ""
|
#define GITVERSION ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char VERSION[] = "2.2.0" GITVERSION;
|
const char VERSION[] = "2.2.1" GITVERSION;
|
||||||
static const char DESCRIPTION[] = trNOOP("SAT>IP Devices");
|
static const char DESCRIPTION[] = trNOOP("SAT>IP Devices");
|
||||||
|
|
||||||
class cPluginSatip : public cPlugin {
|
class cPluginSatip : public cPlugin {
|
||||||
|
Loading…
Reference in New Issue
Block a user