• 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: About that host name resolution slowness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About that host name resolution slowness


  • Subject: Re: About that host name resolution slowness
  • From: Quinn <email@hidden>
  • Date: Wed, 2 Jun 2004 17:02:51 +0100

At 17:46 +0200 2/6/04, Stephane Sudre wrote:
Stupid question: has something be made (new API, mechanism, etc...) in Panther to improve the speed and thread safety of gethostbyname()?

Mac OS X 10.3 introduces a new API, CFHost, that allows you to do asynchronous lookup.

<http://developer.apple.com/samplecode/CFHostSample/CFHostSample.html>

This should solve your threading issue. As to the speed, well that's an entirely separate problem.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.


  • Follow-Ups:
    • Re: About that host name resolution slowness
      • From: Stephane Sudre <email@hidden>
References: 
 >About that host name resolution slowness (From: Stephane Sudre <email@hidden>)

  • Prev by Date: About that host name resolution slowness
  • Next by Date: Re: Too many files open
  • Previous by thread: About that host name resolution slowness
  • Next by thread: Re: About that host name resolution slowness
  • Index(es):
    • Date
    • Thread