Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining IP address
Message
From
12/01/2005 01:52:27
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00974538
Message ID:
00976290
Views:
25
Hi,
Depending on how good the ISP is, they can setup the router host name i.e. theclientsrouter.thereisp.com and have there DNS'S resolve the host to whatever the router's public IP is at the time. It does take some setting up, and a fixed IP is a better way of doing it, especially if security is taken into account.

>Hi Neil,
>
>Ok lets say my router's IP = 192.168.111.1 How do I get the IP assigned by the Internet provider via the router's IP? What did you mean by the DNS will resolve it. How do I get to the IP?
>
>Regards,
>Neil
>
>
>>Why not call the router by it's URL, then the DNS's will resolve it, simple.?
>>
>>>Thanx Sergey,
>>>
>>>You are always there to help. I needed to know the public IP that the IPS assigns to the router. Since this IP is dynamic I wanted to know when it changes. The local IP will not help in this situation. Take a look at the other response to my thread. This is a very cool way of getting at the public IP address assigned to the router.
>>>
>>>regards and happy new year,
>>>Neil
>>>
>>>>>Does anyone know how to determine the dynamic IP address provided by the Internet provider on a given installation using VFP code. I want to build a service that checks if the IP changed. Once a change is detected I would then e-mail the new address to concerned parties.
>>>>
>>>>Neil,
>>>>
>>>>Check Need function call to obtain my IP address Thread #645934
Regards N Mc Donald
Previous
Reply
Map
View

Click here to load this message in the networking platform