Version 0 of Get External IP-address

Updated 2018-06-06 06:11:50 by CecilWesterhof

Created by CecilWesterhof.

Often you want to know your external IP-address. For this I created the following proc:

proc getExternalIP {} {
    return [string trim [http::data [http::geturl http://myexternalip.com/raw]]]
}

It depends on:

package require http

As always: comments, tips and questions are appreciated.