[Mono-dev] Mono.zeroconf timeouts or refresh / rescan ?
mpfj at mimc.co.uk
Thu Oct 2 06:42:59 EDT 2008
I'm using mono.zeroconf under XP + bonjour.
My simple application lists particular devices as and when they appear on our network.
These devices are Linux boxes running avahi, and when they are powered up / down correctly my application adds / removes the devices from a list.
However, if the power is simply removed from one of the devices (i.e. avahi does *not* shut itself down nicely on the device), that device's services remain visible.
I can detect this by pinging the devices and removing them from the list if I get a ping timeout / etc.
But is there a nice "zeroconf" way to detect that a device has disappeared ?
Can I ask zeroconf to rescan / rebrowse the network ?
Or is ping / timeout the only method available ?
More information about the Mono-devel-list