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

[REBOL] Re: Bidirectional value mapping.

From: g:santilli:tiscalinet:it at: 4-Nov-2003 10:53

Hi Bruno, On Monday, November 3, 2003, 9:01:44 PM, you wrote: BGA> I decided to use the interleaved values option. The reason I need BGA> something like what I described is that I am creating a HTTP Proxy using BGA> Rebol (that will eventually evolve into an HTTP Tunnel application). The BGA> mapping is used to map the incoming port to the outgoing one as I have BGA> data arriving and leaving from both ports so I need a way to determine BGA> where I have to send the data I just received in a specific port. You could have the other port in port/userdata. I.e.: ; someone connects in-port: first listen ; ... ; you open your port out-port: open ... ; set up the relationship out-port/userdata: in-port in-port/userdata: out-port ; ... ; now if you receved data on PORT insert port/userdata copy port ; the above works for both ports This is just to give you some ideas. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/