mirror of
				https://github.com/rofafor/vdr-plugin-satip.git
				synced 2023-10-10 11:37:42 +00:00 
			
		
		
		
	Robustify the server discovery.
This commit is contained in:
		
							
								
								
									
										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)); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user