[REBOL] Re: timeout
From: holger:rebol at: 9-Apr-2001 10:32
On Mon, Apr 09, 2001 at 11:34:48AM -0500, Paul Tretter wrote:
> How do I set the timeouts for port openings? For example:
> open ftp://ftp.microsoft.com is fast but if I spelled it wrong it would take some time
to before it timeouts - such as open ftp://ftp.microsofy.com.
At the moment you can only set read timeouts (system/schemes/default/timeout). There
are a lot
of other situations in which networking causes delays. In the example above it is the
DNS lookup. Depending on the operating system it is not always possible to adjust the
i.e. sometimes it is handled within the OS.
For DNS lookups the only way to change timeouts is by using async DNS lookups
(dns:///async), but that only works on some operating systems.