[REBOL] Re: LDC goes Rugby!
From: m:koopmans2:chello:nl at: 23-May-2001 12:08
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.
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.
Note that point 2 is more work though (right now). Holger said that no other
app except for Serve should use async I/O until they finalize the APIs in
core 3.0 That said, They didn't help me finding this out either (one guy
from the mailing list did very briefly).