External IP address
- From: chawki.jreige@xxxxxxxxx
- Date: 14 Dec 2006 16:52:29 -0800
I use the following code to obtain the local IP address of my server:
proc ip:adr {} {
set me [socket -server xxx -myaddr [info hostname] 0]
set ip [lindex [fconfigure $me -sockname] 0]
close $me
return $ip
}
How would I obtain the external IP address?
Thanks,
CJ.
.
- Follow-Ups:
- Re: External IP address
- From: slebetman@xxxxxxxxx
- Re: External IP address
- Prev by Date: Re: How to open Hyperterminal using Expect and send command in hyperterminal
- Next by Date: Re: readline & discard if starts with @
- Previous by thread: [OSX] Tcl + Growl
- Next by thread: Re: External IP address
- Index(es):