> I'm writing this fault tolerant/redundant app that needs to
> be able to identify if any other instances of it's self are running
> on the local subnet and discover the names of the hosts.
> How can I send a broadcast message out to determine if
> the app is running on any other hosts on the local subnet?
> Cheers Alan
Same as you would a normal message except use the broadcast address for
your local net (usually the last ip in the subnet is the broadcast
example 192.168.1.255 would be the broadcast address for 192.168.1.0/24
You just need your app to have a tcp/ip or udp/ip socket open and
listening on the port you are broadcasting to.