Re: Problems detecting an active internet connecting using SystemConfiguration
Re: Problems detecting an active internet connecting using SystemConfiguration
- Subject: Re: Problems detecting an active internet connecting using SystemConfiguration
- From: Fritz Anderson <email@hidden>
- Date: Sat, 15 Mar 2003 14:43:34 -0600
In some cases, this may cause the user's computer to dial the modem
spontaneously and without warning.
This is very rude.
-- F
On Saturday, March 15, 2003, at 01:47 PM, Alex wrote:
If all you want to know is if you are online or not I think this is
easier:
-(IBAction)areWeLive:(id)sender
{
([NSString stringWithContentsOfURL:[NSURL
URLWithString:@"http://www.apple.com"]]) ? NSLog(@"We are
online"):NSLog(@"We are offline");
}
--
Fritz Anderson - Consulting Programmer - Chicago, IL
Mail: <email@hidden>
Risumi: <
http://resume.manoverboard.org>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.