Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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 is fast but if I spelled it wrong it would take some time to before it timeouts - such as open
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 delay, 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. -- Holger Kruse [holger--rebol--com]