Thanx.
Yen-Ju
Yes, I did and I'm not going to comment on Avahi...
> The configure only detect mDNSResponder.
> Unfortunately, I cannot compile mDNSResponder and it is not a package of Ubuntu.
Which version of mDNSResponder did you try?
> The original patch for NSNetService said it may work with Avahi.
> So I guess the API of Avahi is very similar mDNSRsponder.
It is not. However, Avahi used to have/has a compatibility mode that
'maps' mDNSResponder calls to Avahi calls. It's slow and not fully
implemented, but it works.
I was working on Avahi integration for Tryst (which is the 'test bed'
for NSNetService) but got stuck (and sidetracked) half way.
Currently my development machine is (once again) broken (due to
another hard disk crash and faulty RAM). I know it's nothing big, but
I've got a family to take care of, so replacing hardware is at the
very bottom of my list.
--
Chris
The packages for the Apple compatibility layer are libavahi-compat-libdnssd1
and libavahi-compat-libdnssd-dev (the header files).
--
View this message in context: http://www.nabble.com/NSNetService-with-Avahi-tf3872596.html#a10980425
Sent from the GNUstep - General mailing list archive at Nabble.com.
Thanx. I will take a look of it.
Yen-Ju
> --
> View this message in context: http://www.nabble.com/NSNetService-with-Avahi-tf3872596.html#a10980425
> Sent from the GNUstep - General mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss...@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
Because mDNSResponder is MUCH easier to handle/program, because it's
API makes more sense, and because Bonjour is Apple's "baby."
--
Chris
I got the mDNSResponder to work.
Before, I use the CVS version, which is a bad idea.
mDNSResponder-107.6 from Apple works fine.
Then I run the TBrowser from your original patch and it works.
It can finds tons of stuff.
I notice you have a patch for 108.
Is it for mDNSResponder CVS ?
Yen-Ju
>
> --
> Chris
Yes, the one in CVS is broken for all platforms other than Darwin.
This is (according to the developer's mailing list) due to
restructuring of the code.
> mDNSResponder-107.6 from Apple works fine.
> Then I run the TBrowser from your original patch and it works.
v107.6 is the 'official' (aka stable) version you will get when you go
to the developer's pages
(http://developer.apple.com/opensource/internet/bonjour.html).
> It can finds tons of stuff.
> I notice you have a patch for 108.
> Is it for mDNSResponder CVS ?
No. It's for v108.x you can get from
http://www.opensource.apple.com/darwinsource/ when you sign up for
ADC.
--
Chris
I just remembered that this is one of the things that won't work with
Avahi's compatibility mode.
To browse for all possible services, TBrowser searches for
'_services._dns-sd._udp.'
According to the documentation this is supposed to return all services
available on the net. Avahi's compatibility mode doesn't know how to
handle this 'service' and will return nothing.
IIRC, TXT record updates are also not supported.
--
Chris