POST connection never times out on Win32

Hi. I've built libwww on Win98 with VC++ 6.0.  When I try
to POST I hang unless the server is alive and kicking.
How can I get timeouts?  I tried:
     HTHost_setEventTimeout(wait_for);
but nothing happens.  I tried comline with -timeout 1
and it also hangs.  If I turn on the trace I get
...
HTHost 00F0F8B0 going to state TCP_NEED_CONNECT.
HTDoConnect. WOULD BLOCK `antarctica'
Host Event.. WRITE passed to `http://antarctica:8700'
HTDoConnect. WOULD BLOCK `antarctica'
Host Event.. WRITE passed to `http://antarctica:8700'
(repeats until I get bored)

I built with these flags set:
_MBCS,_USRDLL,WWWCORE_EXPORTS,_WINDOWS,WWW_WIN_DLL,WIN32,_DEBUG,WWW_WIN_ASYNC

I think the last one is a message, but I cannot decode it.

Any hints?

Thanks,
John

______________________________________________________
John J. Barton          email:  John_Barton@hpl.hp.com
http://www.hpl.hp.com/personal/John_Barton/index.htm
MS 1U-17  Hewlett-Packard Labs                                    
1501 Page Mill Road              phone: (650)-236-2888 
Palo Alto CA  94304-1126         FAX:   (650)-857-5100

Received on Wednesday, 8 September 1999 17:05:59 UTC