Thanks a lot for your response. Forget my original stupid question. I'm checking the python API and getting close to a solution. Thanks, David
> Date: Fri, 25 Nov 2005 20:25:04 +0800 > From: Trent Lloyd <[EMAIL PROTECTED]> > Subject: Re: [avahi] dynamic response > To: Avahi ML <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > On Thu, Nov 24, 2005 at 07:01:14PM -0800, David (Dalei) Liu wrote: > > Hi, > > > > I'm new to Avahi. May I ask an architecture question about it? > > > > Now I'm trying to develop an application to use mDNS. Basically, a > > client will send out a request like _uniqueid._myservice._tcp.local. > > and expect a response based on the <uniqueid>. The answer in the > > response does not exist until the server receives this request. > > Within avahi-daemon, is there any existing interface to implement such > > service? > > I don't really understand what you mean, could you please explain > exactly what you are trying to do so I can get a better grasp on what > you mean? > > > From the documents, seems dbus is a one-way interface that > > we can only publish service information to the server. Is it correct? > > No, that is incorrect, avahi exposes a very complete API over dbus > including both resolving, browsing and publishing. > > You may want to check out the example programs, and also the DBUS > introspect files if you plan to use DBUS from a language (and not C, > where we have an API, there are good python examples too) > > Cheers, > Trent > > > > > Thanks a lot in advance. > > > > Regards, > > David > > _______________________________________________ > > avahi mailing list > > [email protected] > > http://lists.freedesktop.org/mailman/listinfo/avahi > > -- > Trent Lloyd <[EMAIL PROTECTED]> > Bur.st Networking Inc. > > > ------------------------------ > > _______________________________________________ > avahi mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/avahi > > > End of avahi Digest, Vol 8, Issue 18 > ************************************ > _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
