Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get a list of computer names on a LAN
Message
 
To
21/06/1999 16:21:42
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00232181
Message ID:
00232194
Views:
15
>I am developing an app that allows the users to chat one on one with each other in real-time. I am using winsock for this and so far it works fine (Thanks to John Harvey for his post in the files section).
>The last piece of this is to give the user a list of computer names on the LAN that they can connect to. Can anyone give me an idea as to how I can get this list. It would be the same list you see when you click on Network neighborhood.
>
>TIA

If you are using VFP6, anetresources() will give you some information about network resources, but I don't know if it will give you enough.

Sounds like you may need some sort of password/user table. Do your users enter a login when they run your chat program? If so, you can place the needed information into the table - SYS(0) will give you machine name and user name.

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform