Re: SCNetworkCheckReachabilityByName causing spinning cursor
Re: SCNetworkCheckReachabilityByName causing spinning cursor
- Subject: Re: SCNetworkCheckReachabilityByName causing spinning cursor
- From: David Niemeijer <email@hidden>
- Date: Mon, 7 Mar 2005 19:08:18 +0100
At 17:08 +0000 7/3/05, Quinn wrote:
At 17:11 +0100 7/3/05, David Niemeijer wrote:
However, that still leaves unexplained why
SCNetworkCheckReachabilityByName was reporting the address
unreachable where a http request for that same address was instant.
Could it be that there are still some remaining network issues with
10.3.8 for which some APIs are vulnerable and others not?
When you connect, how are you resolving the name? There are many
different ways to resolve DNS names on Mac OS X. Most, but not all,
are routed through to lookupd. If lookupd is dead (or sick), this
could explain the delay in calling
SCNetworkCheckReachabilityByAddress.
I am using the CFNetworkHTTPDownload sample as a basis for my code. I
am passing the same web site to that code and to
SCNetworkCheckReachabilityByName.
david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden