I am trying to develop a small application. Which is used to seach a given file in the VLAN. I thought of pinging all the IP's in my VLAN. But it takes a long time. Can anyone help me to come out of this problem.
You are trying to identify a file by pinging? There are ways for applications or devices to identify themselves on a network (Jini comes to mind). Just pinging away at every IP is frowned upon by network security folks because the same technique is used by hackers to examine a network. Even if you identified a node by pinging, you won't have access to the files on that computer without some service on the client which granted you access (ftp, http, smb, some custom protocol). Exactly what are you trying to do?
My computer is in some VLAN. I want to develop a small application which should be able to list all the computer in my VLAN. I tried "net view", but that was of no use since it displays all the computers in my LAN not VLAN,and most of those computers will not be accessible. So if i get the list of computers in my VLAN i can write a small code which will search for a shared folder in all the computer in the VLAN. 'nmap' command is incompatible with xp SP2, otherwise that could have been the solution i think