• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining "default" address from Rendezvous resolve
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: AOL port blocking
  • Next by Date: URLAccess, Proxy authentication and https bug?
  • Previous by thread: Re: Determining "default" address from Rendezvous resolve
  • Next by thread: CFSocketDataCallBack buffer size
  • Index(es):
    • Date
    • Thread