Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to id IP address - LAN and Internet - using TClientSocket and TSer
Hi, I used to have IP addresses explicitly defined on my LAN, and my apps communicated ok using TClientSocket and TServerSocket (IP address was hard-coded).
Now that I have changed this to obtain an IP address automatically, I need to find out my IP address at run time for my apps to communicate, over the LAN and over the internet.
a) How can I discover my IP address, please ?
b) Does it matter that I am using a broadband connection ? I wish to use my app on dial up connections too
I'm using Delphi 6.
Many, Many thanx - Gazza (newbie)