Lan Barnes wrote:
>..
> ************************
> #!/usr/bin/tclsh
> # use wget to get the ip addr
> catch {exec wget http://whatismyip.com}
>
> #parse resulting index.html that wget saves
>..
note that there is also a variation which returns simply pure text
http://whatismyip.org
saving, maybe 34.2 nanoseconds in your parse loop.
Searching on whatismyip reveals other similar servers -- if you wanted
to add redundancy, say <heh>.
- http://this-ip.com/micro/
(or http://this-ip.com/more/ http://this-ip.com/ )
- http://b10m.swal.org/ip
..jim
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list