[REBOL] Re: New Rugby based chat client
From: holger:rebol at: 25-Sep-2001 7:54
On Mon, Sep 24, 2001 at 07:34:09PM +0200, Maarten Koopmans wrote:
> First of all, IRC implementations may be multithreaded.
> Second, they can have their own proxy handlers.
>
> Rugby is non-blocking, but not in http mode. Rugby uses
> Rebols client side http (and proxy support), and their implementation is
> simply not non-blocking.
Not entirely true. The problem is that no-wait only applies when reading
data, not when opening a port, i.e. the part where the GET or POST is sent
to the server and REBOL parses the response header is blocking (done within
'open), but reading the response afterwards is non-blocking.
Core 3.0 will allow you to do all parts of an HTTP download, from the
initial DNS lookup until the port has been closed, in a non-blocking
way, using application-defined event handlers.
--
Holger Kruse
[holger--rebol--com]