Re: know my ip

asit <lipu...@xxxxxxxxx> wrote:
I am developing an application in which I need to know my ip address
irespective of my internet connection(PPPoE, LAN, etc).

Somebody told me that I can query a web server over internet to know
my address. How can I do thins in C ????.

If I understand right, what you want is not you own actual IP but the
IP everybody sees from the internet. For example my IP is
and my gateway is . But if I enter the
page says: "Your IP Address Is" which is my public IP.
Is this what you want to find out??