Denis Gottardello wrote:
> Il 13/12/2011 15.52, Arno Garrels ha scritto:
>> Denis Gottardello wrote:
>>> I use ICS components in a my application. I have a problem with
>>> TWSocket and ServerWSocketDataAvailable. Sometimes, when the
>>> ServerWSocketDataAvailable event is called and in action, the same
>>> event is called again, before the previous instance is terminated.
>>> 
>>> I use line mode, #13#10 as line terminator and BufferIn:=
>>> TWSocket(Sender).ReceiveStr();
>>> I not use anything like ProcessMessage or other.
>> Perhaps some code indirectly calls the message pump?
>> For instance ShowMessage().
>> 
> Nothing. Is because I use a limemode way?

No, I do not think so, I use ICS since many years and haven't
seen such reentries when used properly. Are you any chance using
the component in a worker thread?

-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to