How to directly connect two or more client sockets together?
<p>I'm looking for a way to connect two or more client sockets directly without the need for a server application running. I've searched for several ways and the best I could find is JXTA P2P protocol. I just want to know if there are any alternatives other than JXTA.</p>

<p>The basic functionalities of the clients interacting is (1) the ability for a client to send messages to all other clients and (2) request some file available that some other client has.</p>

<p>It's worth noting that I'll be running multiple instances of the application on my computer (localhost), so having NATs or firewalls aren't issues.</p>
