W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

how to use HTHost_setEventTimeout()

From: Thorsten Rinkenberger <rinkenberger@falkag.de>
Date: Wed, 27 Jun 2001 15:12:44 +0100
Message-ID: <01C0FF1B.9EAE8050@TRINKENBERGER>
To: "'www-lib@w3.org'" <www-lib@w3.org>
Hi,

I don't know how to use HTHost_setEventTimeout() in the right way. My program prepares up to 30 requests in a loop using 
request = HTRequest_new();
state = HTLoadToFile(URL, request, DumpFile);

After the last request is prepared my program enters the event loop using
HTEventList_newLoop();

What is the correct way to use HTHost_setEventTimeout() in this case? Should I set the timeout for each request again or only once before preparing the first request? And what will be a useful value in milli seconds if each request takes around 20 seconds?
Would anyone be so kind and give me some infos concerning this? Many thanks in advance and greetings from Germany.

Thorsten
Received on Wednesday, 27 June 2001 09:15:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT