[avahi] How to network deamon

anton feldmann anton.feldmann at uni-bielefeld.de
Wed Apr 26 10:25:59 PDT 2006


Thanks. the prof. said, we have to make a program, which is able to 
write in the mpi.conf file to open a local cluster. so the team i am 
working with, to find a way to find all computer in an local network.
We were thinking about, that we have a server client system. the server 
is sending the IP to all the other computer in the network. the client 
system should take fetch the ip in the network and write the IP in the 



Lennart Poettering schrieb:
> On Wed, 26.04.06 16:53, anton feldmann (anton.feldmann at uni-bielefeld.de) wrote:
>> Hi
>> my name is anton feldmann. I an student at university bielefeld germany. 
>> I wold like to know if it is possible to use avahi to write a program, 
>> which look in an local network for other computers and write the IP 
>> addresses to a file, so the host list is automaticly updated?
> If the other computers don't run an mDNS responder, this won't work.
> If the other computers do run an mDNS responder but don't publish any
> services, this won't work either.
> If they run a responder and publish at least one service this might
> work. However, it still is terribly ugly, since you'd need to browse
> for all service types using an AvahiServiceTypeBrowser object which
> causes a lot of traffic and shouldn't be used by real world
> apps. There's a good reason why the mDNS/DNS-SD designers did not
> support browsing for host names in their specs. They wanted to stress
> that people should look for services and not for machines.
> Avahi and newer MacOSX versions register a service "_workstation._tcp"
> by default. You might have a chance to use that for your
> purposes. However, YMMV, and not all mDNS responders publish it, most
> notably Bonjour for Windows doesn't.
> In short: mDNS/DNS-SD and specifically Avahi is probably not what you
> are looking for.
> Sorry,
>         Lennart

More information about the avahi mailing list