On 12/14/04 3:53 AM, "GOTOU Yuuzou" <gotoyuzo / notwork.org> wrote:

> Sorry, I'm not familiar with DNSSD. But isn't the error of
> peeraddr a problem?

DNS Service Discovery gives you the ability to resolve LAN-local addresses
using multicast DNS so you don't need a central nameserver...names are
propagated on the local LAN using UDP.  Its an IETF doc now, but Apple's
implementation is currently marketed as 'rendezvous' but is open-sourced as
DNSSD.  We wrote a Ruby binding to it ( http://dnssd.rubyforge.org ).


> 
> Getnameinfo may be bypassed by setting Socket.do_not_reverse_lookup
> flag.

Right...for now just do:

Socket.do_not_reverse_lookup = true

And that will deal with the issue for 1.8.1...I think Dave has fixed this in
1.8.2 on OS X.

-rich