Alex Rivera | Logout

Is it possible to connect a socket between two mobile devices (iPhones) over the internet?

Asked 2009-05-01T13:16:17.157
11

Is it possible to connect a socket between two mobile devices (iPhones) over the internet?

I am trying to discover the IP of each device and connect directly. I know it can be done with Bonjour but that only works on local networks. I need a high speed connection between two devices over the internet.

Thanks.

Edit
Report

1 Answer

0

I have a very strong feeling (but no evidence) that the iPhone address is going to be non-routable. Of course it actually depends on the operator but AT&T give out 10.x.x.x addresses.

Apple have sample (desktop) code that uses Bonjour to implement portmapping on a WiFi router that supports UnPnP.

answered 2009-05-01T18:53:39.373

Your Answer