>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