I am making a file sharing application which would look for computers which are running the application on the same network. So I would like my application to discover compu
You should take a look at this article on jxta. It's sun's P2P framework for Java and it's used by a ton of popular applications. It might also be good to look at some applications that use jxta, because they may already do something like what you're trying to do.