Re: Internet Connection on OS X (PPP)
Re: Internet Connection on OS X (PPP)
- Subject: Re: Internet Connection on OS X (PPP)
- From: Payman <email@hidden>
- Date: Fri, 08 Nov 2002 01:56:46 +0100
Hi Jens
The Application is only for OS X ...
Our ISP for OS 8/9 is finished and all works good.
About PPPLib Mailing Vol3 #261:
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 the 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
Now how can i do ?
Impossible to use OpenTransport & PPPLib :-( ??????
For Cocoa, i can't, all the source code of ISP and Navigation tools
is in C++ Powerplant (porting from OS 9).
Thanks
Payman
Hi Payman,
Well, I think I recall something about this now.
I only worked very little with dialing out using Open Transport, and
that was under Mac OS 9.
Here's a copy of my code.
BEWARE: This code is *not* in a stable state. Do not copy-and-paste
anything outside the notifier function.
My best suggestion is: If you are writing an application for Mac OS X
and you are not writing it so it's backwards compatible with Mac OS 9
and below, use Project Builder and Cocoa. Use ppplib (you can get that
from www.opensource.apple.com; but you need to register as an open
source programmer before you can receive ppplib).
If you must use Open Transport, you can grab what you find useful from
the code below, but you should know that I wrote this piece of code in
a hurry to quick-fix another application, which is very likely to
crash after adding my code. (It's added via a shared library).
-So only use the code you know what is doing, and skip those
"accessor-functions".
Furthermore: You should know that the PPP interface doesn't invoke all
the events, even though you've subscribed for them.
-You will probably have to poll for those events if you need them.
_______________________________________________
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.