Hi, now that I have something that's kind of working
on Linux, I thought I would try out FreeBSD and
Solaris, but I'm having problems with name lookups.
I have a small test program using the sockets API and
when DNSRegisterReply() is triggered, I get a const
char* hosttarget.
From the documentation, I'm under the impression that
I should call gethostbyname(hosttarget); to ultimately
figure out the IP address to use. First, is this the
correct way to do things?
If so, I'm having problems with the correct name
resolution returned by gethostbyname(). The ".local."
in the hosttarget string is causing the call to fail.
I noticed that in Linux, a libnss_mdns-0.2.so is
created, /etc/nsswitch.conf is modified, and
/etc/nss_mdns.conf is created.
I seem to be missing this library and support files
when I try installing on FreeBSD and Solaris. What do
I need to do to allow gethostbyname() to handle the
.local. qualifier correctly?
Thanks,
Eric
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.