Hello all, In my app, I should implement some logic, depending on fact, if SSL handshake succeeded or failed.
I am using objects of type NSStream to create input and output TCP streams, communicating using TLS (with NSStreamSocketSecurityLevelNegotiatedSSL). Then I am waiting events in stream:handleEvent: . Then I am observing two following scenarios: SSL handshake succeeded: I am receiving in stream:handleEvent: an event NSStreamEventOpenCompleted - that means (obviously) that TCP connection was established. SSL handshake failed: I am receiving NSStreamEventOpenCompleted, and then - NSStreamEventErrorOccurred. So, the question is: if there any way to receive a notification for NSStream, when SSL handshake succeeded (not only TCP connection established)? I did not find any. Thanks a lot, Yulia
_______________________________________________ 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