Which PPP Control/Status APIs to use?
Which PPP Control/Status APIs to use?
- Subject: Which PPP Control/Status APIs to use?
- From: James Berry <email@hidden>
- Date: Tue, 30 Jul 2002 20:07:25 -0700
Can anybody advise on which APIs to use for PPP Control & Status under Mac
OS X? And which ones really work?
It looks like there are several potential choices under X, but I'm not sure
which ones really work, or work reliably:
(1) OT/PPP?
(2) pppd through ppplib
(3) AppleScripting of Internet Connect
Has anybody used these or can somebody from Apple comment on a preferred
direction? If we restrict ourselves to Jaguar, does that simplify things?
We'd like to do the following things:
(1) Force PPP Connection
(2) Drop PPP Connection
(3) Query PPP status (dialing, authenticating, connected, etc)
(4) Query PPP connection speed and maybe thruput indications
Also: on the Darwin list, Chad Jones at Apple wrote a year ago:
>
Just an addition to my last response on this topic. According to the
>
PPP engineer the PPP API's in System Configuration Framework you
>
would be interested in (for monitoring PPP connections) are still
>
considered private. This means that any use you make of the PPP
>
API's currently there you do so at your own risk as the API's are
>
still subject to change in the future and may break you. Also, the
>
API's are currently scheduled for an API review where they will
>
likely change.
>
>
If you are looking for public API's (i.e. unchanging API's) for
>
monitoring PPP connections then you should use Open Transport,
>
specifically OT/PPP.
Is this a real concern, and are the OT routines the best approach?
James.
--
/**********************************
James D. Berry
mailto:email@hidden
vox:503.265.1213
fax:503.222.3020
**********************************/
_______________________________________________
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.