I am trying to implement a sort of chat between multiple IPhones, where one IPhone serves as a server and the rest connect to it. I have a main server which the rest of the phones get data on the connection, but I am not sure what data to send.
I know the IP of cellphones is highly dynamic, and I am not sure how to track the change of the IP and how to connect to it, and keep the connection while the IP changes.
I have read a bit about GCDAsyncSockets and know ho to listen to connections, but it still requires a static IP. Is it even possible? I mean I read around and it sounds like it is possible, but I really have no Idea how.