Re: SSLSetConnection usage
Re: SSLSetConnection usage
- Subject: Re: SSLSetConnection usage
- From: Doug Mitchell <email@hidden>
- Date: Tue, 15 Jul 2003 21:08:18 -0700
On Tuesday, July 15, 2003, at 08:43 PM, Larry Gerndt wrote:
Documentation states that the "connection" parameter in
SSLSetConnection(context, connection), should be a socket or endpoint
ref.
However, I would prefer to put a pointer to an object there instead.
Does
SSL care what it is? While I'm not absolutely positive, the
documentation
seems to say that it is opaque from SSL's perspective, and is merely
passed
back to us in the I/o callbacks. Is that so?
That connection entity is completely opaque to the SecureTransport
Library. What it represents is completely up to the application, and
the only thing SecureTransport does with it is - as you say - pass it
to the I/O callbacks. As long as it's the size of a pointer it can be
and mean anything you want.
--dpm
_______________________________________________
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.