Hello, I'd really appreciate if someone can give me an example of how to do this, I've been spending some time on this without any luck, I'm new to c++ so for you guys it should be pretty easy.
I'm trying to get the SSL state info and trying to invoke a delegate to pass the information but I'm not getting any where, here is what I have: 1) I've created a delegate with the following method: public __delegate void SSLStateInfo 2) Then inside the following block: __sealed public __gc class SSLClient : public IDisposable { I have added: SSLStateInfo* DoSSLStateInfo; 3) Upon initialization I call the following: SSL_CTX_set_info_callback(ctx,apps_ssl_info_callback); 4) At this point I can get the state info in the apps_ssl_info_callback function but what I would like to do is call the DoSSLStateInfo delegate and pass it the state info (in the form of a string). What do I need to do inside the apps_ssl_info_callback function to invoke the delegate? I've searched through lots of sites but I can't seem to find a simple example. I'd really appreciate the help. Thanks, Joseph -- View this message in context: http://www.nabble.com/C%2B%2B-Invoke-delegate-tp25636867p25636867.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org