> On Feb 7, 2017, at 6:09 PM, Quinn The Eskimo! <eski...@apple.com> wrote: > > > On 7 Feb 2017, at 20:40, Daryle Walker <dary...@mac.com> wrote: > >> Do session tasks still use resume …? > > Yes. > >> If resume is used, how would you open a connection in implicit-SSL mode? > > I’m not sure what you mean by “implicit-SSL mode” but: > > * If you’re working with a protocol that assumes TLS (like HTTPS), call > `startSecureConnection()` before doing any I/O on the stream
This is an implicit TLS connection. I don’t think anyone uses the term since the 1990s (when it was still SSL). From the user’s perspective, they didn’t have to send a TLS connection command, since it was already done when the connection first started. The other way, a.k.a. Start-TLS, is an explicit command. (Oddly, by reversing the perspective, implicit-TLS is externally imposed on the protocol while Start-TLS is internally generated by the protocol.) It seems that both my possibilities were right. You still need to call “resume”, but the connection waits until the first read/write/secure-connection to start work. (Which one of the three starting points is used depends on what protocol you're implementing.) — Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to arch...@mail-archive.com