I want to build an (Android) application that works over p2p like so
Server (list of peers (usernames & ip's))
&
Phones (fetch list of peers from server and create a socket chat between them(phone to phone), no server involved)
So far I've set up the server and a phone client that sends a message and is received by another server (which eventually will be in the other clients phone). BUT, I ran into the problem that phones are assigned ip's via NAT and I need to do NAT Traversal.
I was wondering, is there any simpler options to go about the NAT Traversal? Perhaps use an XMPP port with libjingle in it? (A la ASmack). or should I just use JSTUN or some other framework for android? What do you guys recommend?
Thanks