Re: [twsocket] Correct shutdown/abort procedure

2010-05-13 Thread Pete Williams
twsocket] Correct shutdown/abort procedure > > Pete Williams wrote: > > > At any point, an account may be requested to stop. > > > > What is the correct way to say to these 2 components 'stop whatever > > you are doing, clean up and quit'? >

Re: [twsocket] Correct shutdown/abort procedure

2010-05-13 Thread Arno Garrels
Pete Williams wrote: > At any point, an account may be requested to stop. > > What is the correct way to say to these 2 components 'stop whatever > you are doing, clean up and quit'? > > The thread that the components exist in continues to run. > > The problem I have is that sometimes after the

[twsocket] Correct shutdown/abort procedure

2010-05-13 Thread Pete Williams
Hi all I use TsmtpCli and TPop3Cli, and am not shutting these down correctly, and would like some advice on how to stop these components. Here's the problem. These components work reliably on a thread where there are many other such components, reading and writing user email. Each account on