>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.
>
Download my NETRSC class and CLSHEAP classes - the NETRSC has a sample program that will search out all shares on all netowrks; it would be fairly easy to modify it to do what you want.
You might also investigate Microsoft's ADSI controls.