Seeking advice: Implementing SSL in a Carbon/CFM app
Seeking advice: Implementing SSL in a Carbon/CFM app
- Subject: Seeking advice: Implementing SSL in a Carbon/CFM app
- From: Larry Gerndt <email@hidden>
- Date: Fri, 30 May 2003 22:12:01 -0700
I've been contemplating how to go about this: My application is Carbon/CFM
and it must run on both OS 9 and OS X. My network layer uses OTMP on OS 9
and BSD sockets on OS X. We establish both direct and HTTP-based
connections to our server and our network code must run at MP Task time.
Currently everything works.
Now they want me to implement SSL. I tell them it won't happen on OS 9,
they say fine, just do it for OS X. But if I'm not mistaken, to implement
SSL I should be using CFNetwork, and that is not accessible without bridging
(which might be a real pain?). Also, is CFNetwork MPTask safe?
Bottom line, I'm seeking advice from some of you more experienced network
programmers out there on how to proceed. Thanks in advance.
P.S. FYI, the reason our network code has to be MPTask safe is because we
need to be able to 1. Capture the screen whenever it changes, and 2. write
the captured images out to the server, and 3. do this no matter what
application is front, and no matter what the user is doing (for example
mousing through a menu they've clicked on). Think VNC. To satisfy this
last requirement, we settled upon making all this happen in MPTasks, which
are the only things on OS 9 that are guaranteed to get CPU time at regular
intervals no matter what is going on on the computer. Perhaps for the
future, not worrying about OS 9, we could not try to do all this in MPTasks?
Or is that still the best choice?
--
Larry Gerndt
AIM Handle: SonOfTheSonOfMan
Let the truth be told though the heavens fall -- James Garrison
_______________________________________________
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.