Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining IP Addresses
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00806912
Message ID:
00807463
Views:
22
Neil,

Create a field in the insystem.dbf that you can use to store the ip address - run a routine that looks up the ip address when the user logs in. Then all you will need to do is look at the table to tell where a user is.

Wayne


>Sorry Cetin,
>
>There is just 1 program called neil.prg.
>
>When a user logs in with the username USER149 from another machine they will effectively open this file U:\Profile\User149\insystem.dbf. This file is on a company shared drive. therefore when I run this neil.prg on my machine it
>will tell me that they are in the database on the U Drive but I would like to know which machine User149 is logging in from. At the moment the program tells me they are logged in but returns my IP address. Can the Winsock function find out what the IP address is on the machine they are logging in from?
>
>Many Thanks
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform