I am trying to write a simple chat application for iPhone (as an experiment). Is there an easy way for the two devices to discover each other's IP addresses, and given the addresses, is there a simple API or protocol that will allow me to send text messages back and forth?
I researched SIP (in particular, Sofia and eXosip), but these tools exist as C libraries and do not correspond to my current abilities to transfer them to iPhone.
Update: I am trying to connect two devices via the Internet (i.e. not via Bluetooth or a local wireless network, which is what GameKit does).
ios iphone sip
Musigenesis
source share