Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the IP from the WS
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00198096
Message ID:
00198110
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform