[MD1] Universal PPP programmers' API

[MD1] Universal PPP programmers' API

From: Richard Buckle (richardb@cocytus.demon.co.uk)

In the past few years there's been an explosion of mutually incompatible
PPP drivers for the Mac. Writing one product to support them all cleanly
was a programmer's nightmare -- not to mention the testing.

The Universal PPP API is the solution: a general wrapper that dynamically
detects which PPP driver is in use and maps to its sub-API. Programmers can
simply code to the Universal API. For users, it "just works", even if they
switch between PPP flavours without restarting. Performance has been
carefully optimised.

The underlying code is modular, and other protocols (such as SLIP) which
have a well-definined API can easily be added. Mail me if you would like me
to add support for your protocol.

The Universal PPP API currently supports:
* Metrowerks C, C++ and Pascal.
* Open Transport 1.1.1 or better, or MacTCP 2.0.6.
* All versions of MacPPP, FreePPP, OT/PPP and ARA/PPP
available at the time of writing.

Example projects are included to get you started.

Requirements
CodeWarrior Pro 1 or later.

Registration
If you use the Universal PPP Interfaces you must send me one registered
copy of every program you create with it, plus US$0 if the project is
freeware, US$20 if the project is shareware, or US$50 if the project is
commercial. You may not redistribute the Universal PPP Interfaces without
my explicit written consent. You must include the notice " Universal PPP
Interfaces 1997 Sailmaker Software Ltd. All rights reserved." in your
program's about box and documentation.

The source code is available for US$150, for which you may modify and use
it but not redistribute it. The full source code has some additional
options, including a "fake" mode for testing your UI without dialling up,
an option to use the FreePPP 2.5 commercial SDK if you have it, and an
option for PPPSDKCleanup() to return immediately without waiting for OT/PPP
to finish any work in progress.

The Universal PPP API is available from (http://www.cocytus.demon.co.uk/)
and has also been sent to info-mac.

--------------------------------------------------------------------------
Sailmaker Software: Programming consultancy services.
(http://www.cocytus.demon.co.uk/)
PGP key: 368D27E9 = 9F ED F7 B9 02 AF 13 C5 23 B5 30 D6 18 10 E4 76

 
AAPL
$282.52
Apple Inc.
-1.23
MSFT
$24.38
Microsoft Corpora
-0.11
GOOG
$525.62
Google Inc.
-0.17
MacTech Search:
Community Search:

Introducing the App Hall of Fame!
App discoverability continues to be a real issue. With the fast churn of apps in the App Store, an app has only a few weeks of promotional life in it before it‚Äôs largely forgotten. There are a few things developers can do to fix that, but those... | Read more »
Gobliiins Are Coming
In the midst of the huge Q4 launch schedule, the cult classic, Gobliiins, as well as the rest of the trilogy, are being ported to the iPhone in all of their original glory. The Goblins trilogy was a quirky Atari/Amiga game series from the early 90‚Äôs... | Read more »
myPhoneDesktop – Chrome to iPhone Extens...
Anyone who has used myPhoneDesktop knows that it is a fantastic tool for streamlining your onscreen workflow. Instead of having to type line after line into your phone directly, you can use myPhoneDesktop to type from your computer directly into... | Read more »
Classes Review
Developer: Dustlab Price: $0.99 Version Reviewed: 2.4.7 iPhone Integration Rating: 3 out of 5 stars User Interface Rating: 4 out of 5 stars Re-use / Replay Value Rating: 3 out of 5 stars Overall Rating: 3.33 out of 5 stars | Read more »
AutoVerbal Talking Soundboard Pro helps...
Being able to speak and communicate with others is something that many of us take for granted. It‚Äôs not so easy for many folks though, in particular for individuals with autism spectrum disorders, as well as those who have suffered various brain... | Read more »
Pocketbooth Review
Developer: Project Box Price: $0.99 Version Reviewed: 1.0 iPhone Integration Rating: 4 out of 5 stars User Interface Rating: 4 out of 5 stars Re-use / Replay Value Rating: 4.5 out of 5 stars Overall Rating: 4.17 out of 5 stars | Read more »
Get Your Roast Right With ‘Time To Roast...
Roasting meat, in the cooking world, is about as simple as it gets. The greatest roast recipe I‚Äôve ever found is from Michael Ruhlman‚Äôs website, with the recipe titled, ‚ÄúThe World‚Äôs Most Difficult Roasted Chicken Recipe.‚Äù | Read more »

All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.
Greetings, and welcome to the new MacTech web site! Our home page is designed to be your Industry Dashboard -- so you can have a snapshot of all that's relevant in the industry in one easy location. Many readers tell us that because the information is updated so frequently, they are now checking the site multiple times a day. Here's a quick run down of the features on the new web site, which can be subtle. We truly hope you register so that we can keep you up to date about new features as they are implemented. And, please use the BETA button in the top right to provide us any feedback, suggestions or bugs. We love to hear from you.