Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Service discovery on Linux



Travis Rogers wrote:
Do I have to have both mdnsd and mDNSResponderPosix running to be able
to browse for services?    Or could I just run mdnsd and then use a
"custom" client to register, browse, lookup, and remove services?
clients using the dns service discovery library (libdns_sd)
only need mdnsd running on the machine.

I ask because I've noticed that I can browse (using dns-sd -B) only when mdnsd is running regardless of services being registered via mDNSResponderPosix. Seems as though the dns-sd client relies on a running mdnsd.
Yes, dns-sd uses libdns_sd

I would like to be able to have a network with only a few responders, but yet allow any machine on the network to register and browse. Do I have to run mdnsd on each machine? Do I have to run a responder at all?
Yes, mdnsd needs to be running on machines with client applications
that use libdns_sd. You could also use mDNSResponderPosix as a standalone
utility to register one or more services when you do not have any applications
using libdns_sd to advertise/discover services on the system.


Rishi

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden

This email sent to email@hidden
References: 
 >Service discovery on Linux (From: "Travis Rogers" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.