I am creating a winsocket app & want to know that if there's a method available to fetch the Dynamic IP of the local machine & not it's local address.
For eg: my local address may state 192.168.1.3 but my dynamic IP is depedent on my ISP location like 59.114.25.10
Using gethostbyname() & gethostname() returns the local IP address.
I need this so that my application can communicate over the internet & not just locally or the intranet.