[REBOL] Re: [tcp] obtaining remote ip address
From: g:santilli:tiscalinet:it at: 23-Jun-2004 11:07
Hi Andreas,
On Tuesday, June 22, 2004, 11:31:24 PM, you wrote:
AB> With port forwarding the router will always be the "remote client"
AB> (i.e. look like the originator of the connection).
Hmm, not necessarily. The router just needs to rewrite the
destination of the packets, not the source, as long as it is the
default gateway too. At least AFAIK, and my router confirms this:
>> p: open tcp://www.rebol.com:80
>> p/remote-ip
== 216.193.197.238
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/