• 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: internet connection, modem detection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: internet connection, modem detection


  • Subject: Re: internet connection, modem detection
  • From: Julien Dufour <email@hidden>
  • Date: Sun, 20 Jun 2004 02:47:09 +0200

On Jun 17, 2004, at 16:32, Emmanuel Verlynde wrote:

hello,

Hello

i have a problem in my cocoa application,

how to know if one internet access with is available on a computer and how if
it is not the case, to try an almost automatic connection via a modem?

You can get information about the current network connection of the computer using the SCNetworkCheckReachabilityByName() function. Check the documentation to get further details at http://developer.apple.com/documentation/Networking/Reference/ SysConfig/SCNetworkReachability/index.html

A setting in System Preferences lets the user choose wether a connection should be automatically opened when an application perform some network access. As far as I know, the applications have no control over the behavior and should not have, it is the responsibility of Mac OS X, and it is up to the user to make the choice. So, you probably don't have to worry about that.

thanks.

Best regards.

Julien Dufour
Inferiis - http://www.inferiis.com
_______________________________________________
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.


References: 
 >internet connection, modem detection (From: "Emmanuel Verlynde" <email@hidden>)

  • Prev by Date: Re: Getting Available iChat Buddies
  • Next by Date: Re: Getting Available iChat Buddies
  • Previous by thread: internet connection, modem detection
  • Next by thread: sin(4*pi^2*t) 0 >= t <= pi/3, can you read this ?
  • Index(es):
    • Date
    • Thread