• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting an Active Internet Connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting an Active Internet Connection


  • Subject: Re: Detecting an Active Internet Connection
  • From: Dan Bernstein <cocoa-dev%email@hidden>
  • Date: Tue, 25 Feb 2003 14:08:40 +0200

Use the System Configuration framework. Specifically, look at
/System/Library/Frameworks/SystemConfiguration.framework//Headers/ SCNetwork.h

It will even tell you whether reaching a network address will require *making* a connection and whether user intervention will be required.

-- Dan

On Tuesday, February 25, 2003, at 01:52 PM, Marc Weil wrote:

Hello,

Is there any way to detect whether or not the user has an active internet
connecting without actually *making* the connection (ie, if they have
dialup)?

Thanks,
Marc Weil
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Detecting an Active Internet Connection
      • From: Marc Weil <email@hidden>
References: 
 >Detecting an Active Internet Connection (From: Marc Weil <email@hidden>)

  • Prev by Date: Detecting an Active Internet Connection
  • Next by Date: Re: Converting mouse coordinates in fullscreen context?
  • Previous by thread: Detecting an Active Internet Connection
  • Next by thread: Re: Detecting an Active Internet Connection
  • Index(es):
    • Date
    • Thread