Re: Callback function in c++ methods

2005-05-13 Thread Tyler Durden
Thank you very much, I don't know the use of the function SSL_set_app_data and SSL_get_app_data. This method is better for me because I am implementing a server that manage the SSL_SESSIONS externaly with threads, and in the threads I use this technique (To pass the this pointer to the callback

Re: Callback function in c++ methods

2005-05-12 Thread ahmad hassan
Hello, Thanks, i had a working class already with the list of class objects but i think i maybe switching to this more easy method. Regards, Ahmad. From: Goetz Babin-Ebell [EMAIL PROTECTED] Reply-To: openssl-users@openssl.org To: openssl-users@openssl.org Subject: Re: Callback function in c

RE: Callback function in c++ methods

2005-05-11 Thread ahmad hassan
Hello, I have also defined an object model and the workaround to this problem is like this. I made a static list of class pointers, thus whenever an object is formed it is put into that list. Now in the callback i had the ssl pointe (SSL*) with me and every class had the ssl pointer. I simply

Re: Callback function in c++ methods

2005-05-11 Thread Goetz Babin-Ebell
ahmad hassan wrote: Hello, Hello Ahmad, I have also defined an object model and the workaround to this problem is like this. I made a static list of class pointers, thus whenever an object is formed it is put into that list. Now in the callback i had the ssl pointe (SSL*) with me and every class