[REBOL] Re: Ip adress
From: ronaldoff:free at: 9-Jan-2003 13:01
Exactly what I was looking for !
Thanks very much. The script I'm writing will give thru mail the
ISP-IP adress of somebody asking my help by remote control of his(her)
computer whith VNC like software (dialup internet access).
Wednesday, January 08, 2003, 7:39:58 PM, you wrote:
vd> If you have a local network you can do this:
vd> adresses: get-modes tcp:// 'interfaces
vd> foreach interface adresses [
vd> if (interface/addr <> 127.0.0.1) and (interface/addr <> 172.16.10.1)
vd> ISP-IP: interface/addr
vd> Where 172.16.10.1 is the local network card ip address.