Hi,
I'm looking for documentation on the Windows Network APIs. In particular, I want to query for the names of all "visible" computers on the network. I've been googling away, but just keep getting Samba referrals!!! I don't know if this information is held locally on my machine, or if I have to query, for example, a WINS server, but in either case I need to know how to achive it!
Apologies for cross-posting, but my thread on the Networking forum has returned a workable, but not particularly elegant solution! (Ping all the addresses in the current network address range. Do a port scan on those that respond to look for SMB ports open and finally do a reverse DNS lookup to get the name.....)
Many thanks,
Paul
P.S. I'm using Code::Blocks and wxWidgets, if that makes any difference.