Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving TCP/IP Address
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00140525
Message ID:
00141093
Vues:
37
>>>Anyone know an easy way to retrieve the local TCP/IP address using VFP?
>>
>>IP Address? I believe NetBios does this. But for the free way, Rick Strahl's wwIPStuff class has a method called GetIPFromDomain that does a DNS Lookup on a domain name...
>
>Thanks, Eric. But I'm wanting the acutal IP address for the machine that my Exe's runninging on, which coincidentally won't have a DNS entry.

The API is in WinSock called GetHostName. I have the code for it, but
wwIPStuff doesn't expose this. If you really need it, I can add it
in a few minutes...

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform