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