Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the IP address of the computer running my
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00444096
Message ID:
00444120
Views:
10
>Bret,
>
>Does that give you your subnet IP, or your internet IP? Another related question, if you're going through a gateway, any way to find that machine's IP?
>
>Thanks,
>
>David
>
>>>I need to get the IP address of the PC running my application. Anyone know how I can do that???
>>
>>ows = createobject("MSWinsock.Winsock")
>>? ows.LocalIP

LocalIP will return my IP address of the PC I am on.
LocalHostName gets the HostName defines in my machine

There is also a 'RemoteHostIP' and 'RemoteHost' that may help you, but I dont know about the gateway. Sorry
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform