• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SSLSetConnection usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >SSLSetConnection usage (From: Larry Gerndt <email@hidden>)

  • Prev by Date: SSLSetConnection usage
  • Next by Date: Re: Are SSLWrite and SSLRead callable from MPTask?
  • Previous by thread: SSLSetConnection usage
  • Next by thread: A Dilemma about synchronous blocking and SSL
  • Index(es):
    • Date
    • Thread