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 <[EMAIL PROTECTED]>  --  REBOL Programmer
Amiga Group Italia sez. L'Aquila  ---   SOON: http://www.rebol.it/

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to