Re: Determining "default" address from Rendezvous resolve
Re: Determining "default" address from Rendezvous resolve
- Subject: Re: Determining "default" address from Rendezvous resolve
- From: Stuart Cheshire <email@hidden>
- Date: Thu, 26 Sep 2002 20:49:33 -0700
>
That randomness makes things inconvenient for me. Would it be possible,
>
perhaps in a future revision of Rendezvous, there could be a simple way
>
of determining which IP address refers to the "primary" or "default" IP
>
address?
The real solution to this, which we are working on, is that you shouldn't
have to resolve to an IP address and then connect. You should just be
able to connect by name, like the old OT AF_DNS addresses.
If the name you give is a Rendezvous Service Name, like
"My File Server._afpovertcp._tcp.local."
then it is the job of the connect-by-name API to look up the DNS SRV
record(s) for that name, extract the TCP port number, retrieve the list
of IPv4 and/or IPv6 addresses, and then connect in the best way
available. You'll notice that doing it this way via connect-by-name also
gives you IPv6 compatibility for free.
Stuart Cheshire <email@hidden>
* Wizard Without Portfolio, Apple Computer
* Chairman, IETF ZEROCONF
* www.stuartcheshire.org
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.