Markus Humm wrote: >> Hello! >> >> Using HTTPCLI AsyncGET how main thread wait for the Async to >> download the html code. >> Code relies on input html code. If i sleep the main ui thread it will >> become frozen. >> >> I know how to get HTML with Async via Events but i have no idea how >> program it so that Main UI thread >> will wait and then continue.. :) >> >> > > Hello, > > use a timer. The HTML fetches your stuff async and stores it somewhere > and sets some "get was successfull" flag.
This is definately not the way to use ICS components. Either use the events or, if available, the synchronous methods. -- Arno -- 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