W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Re: timeout in HTEvent_new

From: Henrik Frystyk Nielsen <hfnhfn@ibm.net>
Date: Fri, 11 Dec 1998 11:00:44 -0500 (EST)
To: www-lib@w3.org
Message-ID: <367141A3.6DBAA8E9@ibm.net>
To: Mikhail Grouchinski <mgrouch@usa.net>


Mikhail Grouchinski wrote:
> 
> Why do we have timeout in HTEvent_new?
> Can it be 0?

A value of -1 is no timeout - you probably don't want to set it to 0.
You can see how this is used in the host object

	http://www.w3.org/Library/src/HTHost.c

If you use libwww for normal HTTP access then you want to let the host
obejct handle it and not use the events directly yourself.

For more information on timeouts, see

	http://www.w3.org/Library/User/Using/Timers.html

--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Friday, 11 December 1998 15:09:03 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:23 EDT