Re: how to get the status of network when the network is set disable.
Re: how to get the status of network when the network is set disable.
- Subject: Re: how to get the status of network when the network is set disable.
- From: Jens Alfke <email@hidden>
- Date: Sat, 12 Jul 2008 16:48:43 -0700
On 12 Jul '08, at 9:46 AM, xiaobin wrote:
I test Michael's sample, it works well. But I think the
SCNetworkReachability API is also used to try to connect to the
server, right?
What I want is to get the status of the network without any connection
to the server.
The SC reachability API does not send any packets or rely on any
connections. All it does is examine the current routing tables to
determine whether the kernel knows of a possible route to the
destination.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden