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

About that host name resolution slowness


  • Subject: About that host name resolution slowness
  • From: Stephane Sudre <email@hidden>
  • Date: Wed, 2 Jun 2004 17:46:02 +0200

Stupid question: has something be made (new API, mechanism, etc...) in Panther to improve the speed and thread safety of gethostbyname()?

I'm currently trying to play with a lot of DNS queries and I have currently followed this path:

1) NSHost: so slow for the test I'm doing that I may be retired when the test ends.

2) gethostbyname(): faster, but it still blocks (I'm not against blocking, I'm against "long" blocking) as stated in various locations and is still too slow IMHO.

3) My next step being to have a look at the source of "host" or "dig" to find which API is used.
_______________________________________________
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: Joshua Graessley <email@hidden>
    • Re: About that host name resolution slowness
      • From: Quinn <email@hidden>
  • Prev by Date: Re: Using MoreSCF to write a custom VPN dialer
  • Next by Date: Re: About that host name resolution slowness
  • Previous by thread: Re: Using MoreSCF to write a custom VPN dialer
  • Next by thread: Re: About that host name resolution slowness
  • Index(es):
    • Date
    • Thread