Re: internet connection, modem detection
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.