Re: Checking for internet connection?
Re: Checking for internet connection?
- Subject: Re: Checking for internet connection?
- From: Ben Dougall <email@hidden>
- Date: Sat, 14 Oct 2006 20:37:49 +0100
On Saturday, October 14, 2006, at 08:07 pm, j o a r wrote:
On 14 okt 2006, at 20.55, Ben Dougall wrote:
Yes it is -- that's what I'm after (if "IP network" means the
internet).
It doesn't , and that's the point. As an example, if you have an
AirPort as a home router, it will give you a local IP address
regardless of if the AirPort itself is connected to the Internet or
not. So, in that case you will have a connection to an IP network, but
that network will not be connected to the Internet.
I see, OK thanks.
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. This information can be got via AppleScript thus requiring
the Internet Connect app to open but I'm wondering if that information
can be acquired programmatically from within a Cocoa app without AS
somehow? Possible? If so how? Any pointers to how to do that would be
much appreciated. If not I'll just use AS as I'm doing at the moment
but it's very annoying having the I.C. app open and quit periodically
-- be much better if I didn't have to use AS.
Thanks, Ben.
_______________________________________________
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