About that host name resolution slowness
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.