Re: [twsocket] TWSocket's problem

2010-05-20 Thread Arno Garrels
Bruce Zhao wrote: > Hello everyone: > > In my program, I created a thread to read data and put it into the > buffer, then the thread will post a message to main form and suspend > itself. When the main form receives the message, it sends the data in > buffer to the server. > > I wrote code in the

[twsocket] TWSocket's problem

2010-05-20 Thread Bruce Zhao
Hello everyone: In my program, I created a thread to read data and put it into the buffer, then the thread will post a message to main form and suspend itself. When the main form receives the message, it sends the data in buffer to the server. I wrote code in the OnDataSent event of TWSocket to r