[REBOL] Re: LDC goes Rugby!
From: petr:krenzelok:trz:cz at: 23-May-2001 12:38
Maarten Koopmans wrote:
> Pekr,
>
> It works under View as well, you are right.
>
> Async I/O adds non-blocking behaviour. If you accept a port on the server
> side, you can do two things:
>
> 1) Try to read data and continue once you get it all. This way you
> essentially block all other activity. If the line happens to be slow, too
> bad for the rest ofthe connections. they have to wait.
doesn't it depend upon /no-wait 'open refinement?
> 2) If there is data availaible, you take what you can get. If you try to
> read more than there is available, you don't wait. In stead, an error
> isthrown (that you catch) and you continue immediately. And you don't spend
> waiting time and slowing down other connections.
the same as above. The difference I don't understand is - why you used
'async-modes, if similar functionality can be achieve via /no-wait refinement
...
hmm, maybe I am just missing something :-)
-pekr-