Re: [twsocket] TWSocket in thread

2011-11-25 Thread Arno Garrels
Patrick Wong wrote: > Dear all, > > In my application I am using a TWSocket in a working thread for heavy > traffic to/from server. Since there is no window in thread the > TWSocket requires the MessageLoop() to receive events. My approach > is when there is no data to send the TWSocket keeps to

[twsocket] TWSocket in thread

2011-11-25 Thread Patrick Wong
Dear all, In my application I am using a TWSocket in a working thread for heavy traffic to/from server. Since there is no window in thread the TWSocket requires the MessageLoop() to receive events. My approach is when there is no data to send the TWSocket keeps to be looped within the Message