Re: [Lazarus] How to find out the public IP in code?

2015-11-07 Thread fecske fecske
or see this http://forum.lazarus.freepascal.org/index.php/topic,17506.msg110917.html#msg110917 On Sat, Nov 7, 2015 at 1:07 PM, Mark Morgan Lloyd wrote: > Bo Berglund wrote: >> >> I would like to be able to find out the public IP address of the Pi in >> a Lazarus

Re: [Lazarus] How to find out the public IP in code?

2015-11-07 Thread fecske fecske
forexample http://wiki.lazarus.freepascal.org/Internet_Tools#Get_external_IP_address On Sat, Nov 7, 2015 at 1:07 PM, Mark Morgan Lloyd wrote: > Bo Berglund wrote: >> >> I would like to be able to find out the public IP address of the Pi in >> a Lazarus program.

Re: [Lazarus] How to find out the public IP in code?

2015-11-07 Thread Mark Morgan Lloyd
Bo Berglund wrote: I would like to be able to find out the public IP address of the Pi in a Lazarus program. How can this be accomplished? It is either connected to a wired or WiFi network router. in my browser I can go to http://checkip.dyndns.com/ and it will print a message with my IP

Re: [Lazarus] How to find out the public IP in code?

2015-11-07 Thread Aradeonas
So much clean answer Slivio. Regards, Ara -- http://www.fastmail.com - Or how I learned to stop worrying and love email again -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] How to find out the public IP in code?

2015-11-07 Thread silvioprog
On Sat, Nov 7, 2015 at 12:13 PM, fecske fecske wrote: > or see this > > http://forum.lazarus.freepascal.org/index.php/topic,17506.msg110917.html#msg110917 If you just want to get your external IP using some service like dyndns, you should use pure FCL: === begin code ===

[Lazarus] How to find out the public IP in code?

2015-11-06 Thread Bo Berglund
I would like to be able to find out the public IP address of the Pi in a Lazarus program. How can this be accomplished? It is either connected to a wired or WiFi network router. in my browser I can go to http://checkip.dyndns.com/ and it will print a message with my IP address. But how is this