[avahi] Bonjour compatibility layer - Synchronous DNSServiceResolve

Lennart Poettering lennart at poettering.net
Fri Aug 22 06:56:15 PDT 2008


On Fri, 22.08.08 16:14, Hon.Hwang at csiro.au (Hon.Hwang at csiro.au) wrote:

> Hi all,
> 
> I have a problem where the synchronous DNSServiceResolve is not working.  Specifically, the Apple's documentation says that if I call DNSServiceProcessResult immediately after DNSServiceResolve, the resolve operation would be synchronous.
> 
> What I've encountered in Ubuntu (using libavahi-compat-libdnssd-dev) is the the resolve code won't block at DNSServiceProcessResult; instead it is skipped over.
> 
> Anyone has encountered this problem?
> 
> I also have put this in the bug tracker (Ticket #233).

Yepp, as it seems our Bonjour compat API is not 100% compatible to
upstream Bonjour here. We need to fix this.

Patches always welcome, especially if you want things hurried up a bit ;-)

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list