• 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: What is the best way to start/stop/monitor PPP connections?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Quinn <email@hidden>
  • Date: Mon, 2 Feb 2004 13:27:06 +0000

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.

Prior to 10.3 all of your choices are problematic. If you can limp along with OT, that's probably best. Beyond that, you need to investigate PPPLib. Here's a (slightly edited to accommodate SCNetworkConnection) quote from my previous postings on this topic.

You can use the "ppplib" code from the Darwin PPP sources. You can find a quick tutorial on this on the following web page.

<http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000026.php>

There's also been several discussions of this on the MacNetworkProg mailing list. If you follow the links from the mailing list's web page, you will find a searchable archive of that material.

<http://www.lists.apple.com/macnetworkprog>

The drawback to using "ppplib" is that it's not officially supported by Apple. Here's a statement that the manager of our network engineering team posted to the list just recently.

Let me emphasis the PPPLib code does not defines an API (Application
Programming Interface). This is just a sample code that is part of
Darwin but it is not part of Mac OS X. Apple is not making any
guaranty the PPPLib code does actually work now or will work in
future releases of Mac OS X.

Obviously, we are aware of the usefulness of PPPLib and we will try
to keep PPPLib working.

Use at your own risk!

Vincent Lubet
Manager,
Networking Team Apple

Apple is aware of these problems and has introduced (in Mac OS X 10.3) a new, supported API, SCNetworkConnection, to address them. You should only use PPPLib on Mac OS X 10.2.x and earlier. To ensure long-term compatibility, you must use the new API where available.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.

  • Follow-Ups:
    • Re: What is the best way to start/stop/monitor PPP connections?
      • From: Dave Camp <email@hidden>
    • Accessing the terminal SSH rendezvous info
      • From: "John C. Welch" <email@hidden>
  • Next by Date: Accessing the terminal SSH rendezvous info
  • Next by thread: Accessing the terminal SSH rendezvous info
  • Index(es):
    • Date
    • Thread