Does anyone have ideas why TIcsWndControl.ProcessMessages could
hang sometimes when socket is used in separate thread?

Have you followed the rules: create TWSocket within the thread's execute
method OR call ThreadAttach ?

Yes socket is created within threads execute method, and it works most of the time.
I call it after calling shutdown like this, could it be related?

 FSocket.Shutdown(SD_BOTH);

What do you mean by "I call it after..." ?

Actually ProcessMessages probably doesn't hang. ProcessMessages it the place from where all events are called. It is likely an event handler which is blocking. You should try to find out where.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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