• 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: Open Transport and creating a PPP dial-up connection.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Open Transport and creating a PPP dial-up connection.


  • Subject: re: Open Transport and creating a PPP dial-up connection.
  • From: Quinn <email@hidden>
  • Date: Thu, 27 Mar 2003 10:25:56 +0000

At 0:11 +0800 27/3/03, Christopher Dickson wrote:
I'm implementing an "all in one" PPP configuartion and dial-up tool for a
local ISP for OSX using carbon and C. I have nearly completed, except for
one problem,.....when I execute the dialup, I don't get back any status
message back on OTNotifyUPP function,......so my application has no idea if
or when it has successfully opened (or closed) a connection.

I know that is it possible to get status information as "internet connect"
actually reports all the information for the PPP connect started/closed by
my application.

Because you mention "Internet Connect", I'm going to assume that this is on Mac OS X.

There is a known bug <rdar://problem/3080214> with the OT/PPP API on Mac OS X that prevent you from getting all of the OT/PPP events. However, you should get *some* events. Have you made sure to enable event delivery using I_OTGetMiscellaneousEvents?

If the existing events don't satisfy your requirements, you can get PPP events using "ppplib". Here's something that I posted to the list a while back.

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 intends to rectify them, probably by releasing a new, CF-friendly, PPP API in a future major release of Mac OS X.

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.

References: 
 >re: Open Transport and creating a PPP dial-up connection. (From: "Christopher Dickson" <email@hidden>)

  • Prev by Date: Re: Stop listening!
  • Next by Date: Getting the Modem Script Path
  • Previous by thread: re: Open Transport and creating a PPP dial-up connection.
  • Next by thread: re: Open Transport and creating a PPP dial-up connection.
  • Index(es):
    • Date
    • Thread