[REBOL] Re: Enhanced Proxy
From: anton:lexicon at: 12-Apr-2002 0:52
Just looking at the source, I think the address
is in conn/target, is that correct?
Anyway, given a machine such as www.rebol.com
you can look up the ip like this:
ip: read dns://www.rebol.com
or
ip: read join dns:// "www.rebol.com"
You can do it both ways, too...
>> read dns://yahoo.com
== 66.218.71.113
>> read dns://66.218.71.113
== "w2.rc.scd.yahoo.com"
>> read dns://66.218.71.114
== "w3.rc.scd.yahoo.com"
>> read dns://66.218.71.115
== "reserved.rc.scd.yahoo.com"
I based my proxy server on webserver.r from the
script library. Here it is:
http://anton.idatam.com.au/rebol/web/no-white-web-proxy.r
It's not as good as Sterling's, it looks like,
but it does blow away white colour pretty well... :)
Anton.