Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get the IP from the WS
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00198096
Message ID:
00198110
Vues:
23
>I am looking of a WinApi function to get the IP address of the WS from VFP. Any one know how to do this?

Hi,

Why not use the Winsock control to get this information? You can do it like this:
oSock = CREATEOBJECT('MSWinsock.Winsock.1')
? oSock.LocalIP
Don't for get to set oSock to .NULL., BTW.

hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform