W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2002

Connection Timeout.

From: Nelson Spessard <nspessard@yahoo.com>
Date: Tue, 22 Jan 2002 04:40:49 -0800 (PST)
Message-ID: <20020122124049.68951.qmail@web13407.mail.yahoo.com>
To: wwwlib maillist <www-lib@w3.org>
Cc: rcorell@adobe.com
I'm seeing the same problem and looking for a
solution.  Have experienced the same thing and also
get it when there is a server present and the
connection seems to take too long The system will die
in the event loop for the socket.  I have thought
about adding a timer to the socket connection event
but doing so seems to elude me.  There is no global
method from the host to set such an event and I am not
sure how to create a timer for a host channel or
socket without rewriting a significant portion of the
library to get to the routines where I think the
timers aught to be installed.
If anyone has seen this problem please let me know as
well I could use some help on this.
>	If I try to connect to a valid host with no >HTTP
server, I never seem to
>get a timeout.  I've tried altering the various
>timeout values with
>	HTHost_setEventTimeout();
>	HTHost_setActiveTimeout(;
>	HTHost_setPersistTimeout();
>	...but to no avail.  I'm using the >WWW_WIN_ASYNC
environment, and the
>connect function always returns WSAEWOULDBLOCK.  The
>event gets registered
>with the event timeout, but it just tries again, gets
>and resets the timer.

>	Has anyone else seen this problem or know a
>solution other than making my
>own timeout function?

>	-Rob Corell
>	Adobe Systems

Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
Received on Tuesday, 22 January 2002 07:40:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC