Re: Checking for internet connection?
Re: Checking for internet connection?
- Subject: Re: Checking for internet connection?
- From: j o a r <email@hidden>
- Date: Sat, 14 Oct 2006 20:44:21 +0200
On 14 okt 2006, at 13.56, Ben Dougall wrote:
The two functions on that page, SCNetworkCheckReachabilityByAddress
and SCNetworkCheckReachabilityByName (regarding pre 10.3), checks
the availability of another external host. That's really the best
way to see if the computer has a connection? Check to see if say
Amazon are contactable and from that assume that the machine you're
on has a connection? That's really crap I reckon. Surely there's a
reasonable way to find out if the machine is currently connected to
the net or not (OS X 10.2+)?
How do you think it could work otherwise? What does "connected to the
internet" mean to you?
Sure, your computer can detect that it is connected to an IP network
without having to ping some host on the Internet, but that's probably
not what you're looking for.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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