Re: [twsocket] Threading question

2007-04-06 Thread DZ-Jay
On Apr 5, 2007, at 10:23, Éric Fleming Bonilha wrote: Another thing, now FSocket is being destroyed on my class destructor, should I destroy it on the end of the execute method, after leaving the message loop? You should destroy FSocket at the end of the Execute method. dZ. --

Re: [twsocket] Threading question

2007-04-05 Thread Francois Piette
Do I need to do any other things to make it work right? Looks OK, except destruction of the component which must be done in the context of the creating thread, so at the end of your execute method. Use try/finally. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html --