how to find a machine in the network and acess them given the name of the machine only....
how to find a machine in the network and acess them given the name of the machine only....
Machines names can be retrieved from DNS server with ARP query. This means, you send a name of machine with ARP query and the server responds you the machines IP address.
Of course, this means that networks administrator has set a name for the machine in DNS server.
Making error is human, but for messing things thoroughly it takes a computer
Look at the WNet APIs. I'd start with WnetOpenEnum and WNetEnumResource. You can read up on that set of APIs at http://msdn.microsoft.com/library/.