By networks, are you refering to DOMAINS? What type of "messages" (what protocol)?
If you know the ip address you can query the name with the -a switch.
How were you planning on "Searching" for computers on the network?
I encourage you to read more about computing, and networking. There is alot to learn and know, beside just how to do something. If you understand what it is doing, your questions answer themselves.