Problem to handle connection problem with a HTTP server

Hello world,

Can someone help me?
I'm using HTLoadToChunk() function in non-premptive mode.
When the Http server of the requested URL doesn't respond, 
I enter in a HTDoConnect() infinite loop. I tried to set a timeout
(HTHost_setEventTimeout()) but no event handler is called. You can find
below some tracing information to help your understanding.
What can I do to handle the connection problem.
 
Thanks
Laurent STRULLU
Email :	laurent.strullu@srit.siemens.fr

Timer....... Found timer 00CA9D20 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Host Event.. WRITE passed to `http://www.w3.org'
HTDoConnect. WOULD BLOCK `www.w3.org'
Memory Free. 00CA9CE0
Timer....... Found timer 00CA9D20 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Timer....... Dispatch timer 00CA9D20
Event....... No event for timer 00CA9D20 with context 00CA9E80
Memory Free. 00CA9D70
Timer....... Found timer 00CA9DB0 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Timer....... Dispatch timer 00CA9DB0
Event....... No event for timer 00CA9DB0 with context 00CA9E80
..........
Timer....... Found timer 00CA9D20 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Host Event.. WRITE passed to `http://www.w3.org'
HTDoConnect. WOULD BLOCK `www.w3.org'
.......
	 

Received on Thursday, 12 August 1999 12:47:08 UTC