Droesjba 0 Posted June 29, 2022 We use TWSocket which uses the OnDnsLookupDone event. I have replaced TWSocket by TSslWSocket (childclass of TWSocket). SSL is conditional, depending on a setting. In case SSL is applicable, which extra events do I use and in which order? Share this post Link to post
Angus Robertson 574 Posted June 29, 2022 If you connect to an SSL server, several events may be called to allow you to check ALPN and SSL certificate chain, but they are optional. There are several SSL demos that illustrate all this. Angus Share this post Link to post
Droesjba 0 Posted July 8, 2022 I've studied the demos but that doesn't answer all my questions. For instance: Our code uses the OnDnsLookupDone event. I've added the OnSslHandshakeDone event. Questions: 1) Is there a relationship between these two events? 2) Must the eventhandlers of these events have a relationship or dependancy? Share this post Link to post
Angus Robertson 574 Posted July 8, 2022 No, those events are totally unrelated and have no relationship, except they are called by the same object. Angus Share this post Link to post