Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a PCs local IP address
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01042813
Message ID:
01042913
Vues:
20
Hi Anatoliy,

Thanks for the reply. The solutions you listed are available to that site's members only.
Received a 2 liner from Hugo Ranea/Sergey Berezniker which works for me.
Thanks, again

>Hi Ashley,
>
>This example uses GetAdaptersInfo API function:
>How to retrieve adapter information for the local computer (including MAC address)
>http://www.news2news.com/vfp/?example=347
>
>This one uses Winsock API functions gethostname, gethostbyname:
>Winsock: retrieving the standard host name and IP address for the local machine
>http://www.news2news.com/vfp/?example=215
>
>You can ping local computer using IcmpSendEcho API function to get its ip address:
>How to ping a remote site using ICMP API calls
>http://www.news2news.com/vfp/?example=486
>
>And Winsock OCX of course...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform