Re: Checking for internet connection?
Re: Checking for internet connection?
- Subject: Re: Checking for internet connection?
- From: Shawn Erickson <email@hidden>
- Date: Sat, 14 Oct 2006 14:00:04 -0700
On Oct 14, 2006, at 1:11 PM, Ben Dougall wrote:
On Saturday, October 14, 2006, at 08:50 pm, j o a r wrote:
On 14 okt 2006, at 21.37, Ben Dougall wrote:
I'm trying to find out how to get the information that the
Internet Connect app has access to and displays, specifically
"connected"/"disconnected" plus the speed and time in seconds
connected.
But that status is for "transient" connections (like a modem
connection), right? I think (by looking at the API, I haven't
tried it) that you can use the System Configuration APIs for some
of that, at least the connected / disconnected state,
I can't see one that does that. The closest two functions that I
know of, SCNetworkCheckReachabilityByAddress and
SCNetworkCheckReachabilityByName, require a particular host to try
rather than just saying yes connected, or no not connected.
<http://developer.apple.com/documentation/Networking/Conceptual/
SystemConfigFrameworks/SC_ReachConnect/chapter_5_section_5.html>
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden