Re: Detecting a network connection
Re: Detecting a network connection
- Subject: Re: Detecting a network connection
- From: Jens Alfke <email@hidden>
- Date: Wed, 28 Oct 2009 09:48:19 -0700
On Oct 28, 2009, at 9:22 AM, colors wrote:
Is there an API for determining a physical network connection
(ethernet, WiFi, etc.)?
Again, SystemConfiguration has APIs for that. But unless you're doing
something unusual, you probably don't need to check for physical
network interfaces. An active link doesn't necessarily mean you can
connect to any remote hosts. In almost all cases, what you really want
to know is whether a particular host or net is reachable.
—Jens_______________________________________________
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