Re: help: Is it still possible to write pap server on OS X ?
Re: help: Is it still possible to write pap server on OS X ?
- Subject: Re: help: Is it still possible to write pap server on OS X ?
- From: Rich Kubota <email@hidden>
- Date: Tue, 19 Mar 2002 12:56:27 -0800
At 10:01 AM -0500 3/19/02, Hua Yuan wrote:
Hello Hua, and to all,
To answer the direct question, yes it should be possible to write a
native PAP server under Mac OS X, however, there are no specific
API's for handling the pap_listen and pap_accept functions which a
server requires. Instead, there is ATP support provided via the BSD
AppleTalk API, from which one could theoretically implement these
missing PAP functions. As to the second portion of the question, no I
do not have a sample.
I say theoretically as to my knowledge, this has not actually been
implemented and there may exist problems with the BSD ATP
implementation which may make such implementation of the PAP server
difficult if not impossible.
the basis of this ambiguous answer is that at present, Apple
Networking Engineers have placed PAP support towards the bottom of a
long list of networking feature enhancements. If bug reports are
submitted, they will be assigned a low priority in getting fixed.
The reality is that with the limited engineering staff available,
there are a number of higher priority networking features which they
are working on, such as IPSec, IPV6 and related networking issues,
which are considered extremely important for the future success of
Mac OS X.
A difficult decision was made in implementing the Open Transport
compatibility code for Mac OS X to provide only limited AppleTalk
support. As a result, PAP support was not provided, nor are there
plans to do so. The same decision extends to support for the BSD PAP
API's.
Now for those that want to push forward into providing PAP Server
support, the first thing is to have an understanding of how PAP is
implemented above the ATP protocol. The main reference is "Inside
AppleTalk", 2nd Ed. A soft copy of this document is available on the
web at
<
http://developer.apple.com/macos/opentransport/docs/dev/Inside_AppleTalk.pdf>
Once you understand the protocol, you can begin to implement the
protocol based on BSD ATP API's, whose sources as well as the other
AppleTalk Prototocol source, are available from the Darwin web site.
You will need to register for access to the Darwin site. Once you
have done so, the AppleTalk sources are available at
<
http://www.opensource.apple.com/cgi-bin/registered/cvs/System/xnu/bsd/netat/>
You will find that there has been some previous discussions on this
list regarding problems with using the provided PAP Client api's.
Sincerely,
Rich Kubota
DTS
email@hidden
hello,all
I wonder if we can still write a pap server on OS X.
Now we know a way to call pap_open,pap_read,pap_write in our carbon
code.
But seem we just got some client side api.
If we want to create a pap listening endpoint and register it with
name, we have no idea what to do.
Any idea.
TIA
hua yuan
ps: on Window, it's easy to create a printer and shared it, this way we
can use the printer (logical printer)
to get(interpcet) application's printing job. I wonder if apple have
provide any similar workflow on OS X.
OS X is a pretty modern OS.
_______________________________________________
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.
--
_______________________________________________
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.