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 17:11:37 +0100
At 11:06 -0500 7/3/05, Allan Nathanson wrote:
SCNetworkCheckReachabilityByName() is a synchronous API and, as
such, you need to wait for it's return. To help matters we
introduced a new set of APIs (in Panther) which can provide an
asynchronous notification when a target host/address is reachable.
Check out the sample code at :
http://developer.apple.com/samplecode/SimpleReach/SimpleReach.html
Ok, will look at that, thanks.
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?
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