I want to make c program to display following things
total no. of computers in the network
their IP addresses
their ethernet cards network identification number/address
their computer names (if any)
workgroup of computer
the computers are networked using WINDOWS2000
can someone give me appropriate links to study ..so that i'm able to make these programs
or otherwise can give links to such codes so that i can study the code to understand how it is done
i would appreciate something more specific to the problem
bcoz the time available is less
We're not here to spoon-feed you answers for problems which you don't "have time for".
i never asked to be spoon fed
i just asked for some specific link instead of 10's of links you gave me
i have time for the problem but ...not so much time that i can go through tens of links ...so all iasked for was something more specific and not all possible links for network programming
Here is a specific link. It should be able to help you quite a bit.
NetServerEnum (Enumerates non-firewalled Windows computers on the network.)
gethostbyname (Given a computer name, retrieves its IP address.)
SendARP (Given an IP address, retrieves its MAC address.)
GetNetworkParams (Retrieves the domain of the local computer.)
anon whats the header for those?
If you look the functions up in MSDN (Search: MSDN functionName), the required header and library are at the bottom of the page.
thank a lot .... anonytmouse