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

[REBOL] Re: The REBOL async:// tutorial - take 1

From: g:santilli:tiscalinet:it at: 3-Mar-2004 19:58

Hi Maarten, On Wednesday, March 3, 2004, 7:35:46 PM, you wrote:
>>> either error? try [listen: open/no-wait tcp://:8000] [ >>> port: open async://localhost:8000 >>> port/awake: do handler >>> >>> >>> >>> >>Above code somehow escapes my understanding :-) So if we are not able to >>open listen port (because e.g. we are already listening), we open >>connection on localhost to that port? What is that good for? >> >> >>
MK> Gabriele? I missed it, it looks like setting up a tunnel to me. That was a quick demo, first time you launch the script it works as a server, second time it works as a client and connects to the server. You just need to run the script twice... Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: