Thursday, 9 August 2012

IP lookup

Here a sample script to know own IP in a Lan or the public IP, the original code was of Nick Anotonaccio (, I just updated the code:
Here the source:

my-ip: read
parse my-ip [thru <span id="ip">   copy stripped-ip to </span> ]
notify   rejoin ["WAN: " stripped-ip   " ---- LAN: " read join dns:// read dns:// ]

No comments:

Post a Comment