Obtaining the public IP of a computer...

Andre Garzia andre at andregarzia.com
Wed Feb 9 07:51:37 CST 2011


Paul,

I am just saying from my own humble opinion here. I think there might
be a way to query the underlining operating system for the IPs but it
will not be cross platform but if you are behind routers, switches,
nats and so on, I don't think you will ever be able to guess the
public IP unless something on the other side of the switch tells you.

Someone will know more but there might be some unix utility that you
can shell() to some known server and see your ip floating by...

On Wed, Feb 9, 2011 at 11:35 AM, Paul Dupuis <paul at researchware.com> wrote:
> Okay, great suggestions from folks to use a hosted service to return the
> public IP of the computer a LiveCode app is running on, but, I have to ask
> because I am now curious, does anyone know of a way to do this that is not
> dependent upon a hosted service?
>
> --
> Paul Dupuis
> Cofounder
> Researchware, Inc.
> http://www.researchware.com/
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list