Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get IP Address from API
Message
 
To
21/09/2002 09:50:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00702975
Message ID:
00704052
Views:
21
>>I am trying to figure out how to get the IP address from the API under Terminal Services, and hoping that it shows the IP the client has connected to as the primary IP. I am hoping to be able to set up a loader that will load the proper program based on the IP that the terminal server session has connected to. Can this be done or do I have to setup a loader that asks them who they are?
>
>Cy,
>If your intention is to distinguish them then what about getting their NIC address using UuidCreateSequential (w2K, XP) or UuidCreate ( Version < 5.x) ?
>Cetin

The problem is I want to know which of the 10 ip addresses that my terminal server has they have used to connect. Ideally I want each customer to only know about the one address. We are using the internet connector, this means all users connect with the same logon, so I can't use that to launch the right program. It's beginning to look like I am going to have to make the loader query the user for their agency affilliation and base it on that. It will work but is not elegant like I wanted it to be.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Reply
Map
View

Click here to load this message in the networking platform