This was actually less complex as I already send a MDNS broadcast every 10 seconds, and I already keep map of known services to filter the duplicates. All I needed to do was to add a 'last seen' timestamp, and after every cycle I check if a service hasn't been seen for more than 30 seconds.
resolves https://github.com/Nimrodda/flutter_nsd/issues/28 for windows
This was actually less complex as I already send a MDNS broadcast every 10 seconds, and I already keep map of known services to filter the duplicates. All I needed to do was to add a 'last seen' timestamp, and after every cycle I check if a service hasn't been seen for more than 30 seconds.