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

[REBOL] Re: waiting on tcp ports

From: g:santilli:tiscalinet:it at: 23-May-2004 11:39

Hi Miguel, On Saturday, May 22, 2004, 4:40:17 PM, you wrote: ML> ready: wait/all [port1 port2 10] Since you are using /ALL, READY can be a block with both ports in it. So either you should remove the /ALL refinement (so that at most one port will be returned each time), of you should read from all ports returned. BTW, I'd recommend not using READ-IO unless really necessary (that is, unless you are using async-modes). Use COPY instead. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: