Re: What is the best way to start/stop/monitor PPP connections?
Re: What is the best way to start/stop/monitor PPP connections?
- Subject: Re: What is the best way to start/stop/monitor PPP connections?
- From: Dave Camp <email@hidden>
- Date: Mon, 2 Feb 2004 13:37:07 -0800
On Feb 2, 2004, at 5:27 AM, Quinn wrote:
At 15:11 -0800 30/1/04, Dave Camp wrote:
Since use of OT is being discouraged on OS X, I was wondering what
the recommended way of managing PPP connections was these days.
Mac OS X 10.3 introduces a new API, SCNetworkConnection, that lets you
manage dialup connections properly. It's very snazzy. Give it a try.
There's no documentation (yet), but the comments in the header
<SystemConfiguration/SCNetworkConnection.h> are pretty helpful.
I just looked through the headers, and it appears to do what I want
(although I'll reserve final judgment until I actually update my
code...:-)
Currently we install a new network location and make all of our modem
and PPP changes there. However, the headers indicate that we should now
just pass a dictionary of the changes we want to
SCNetworkConnectionStart and it will merge them into the default set.
In addition, the headers indicate functionality is only implemented for
PPP, not other connection types.
Given that, it appears that we should continue using MoreSCF and a
separate network location for managing Airport and Ethernet
connections, but for PPP connections on 10.3 we should not do that and
just pass in the settings to be merged with the defaults. Correct?
Are there plans to extend the new APIs to cover the other interfaces in
a future OS release, or should I file a feature request for that?
Thanks,
Dave
---
There's an old proverb that says just about whatever you want it to.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.