Re: [twsocket] Wait for

2013-01-12 Thread François Piette
> 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

Re: [twsocket] Wait for

2013-01-12 Thread François Piette
>> 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 wi