Peer-to-peer communication between iOS and Android devices

So, I'm a relatively new iOS developer, but thanks to Stackoverflow, I was able to get peer-to-peer data transfer for my application running without a server using gamekit / GKSessions. In principle, one iOS device acts as a server, while others simply connect to it to receive specific application data.

Now the application is porting to Android, and I was wondering if there is a way to get the Android device to connect to the iOS application and behave just like the ios application does. Android developers have proposed alljoyn to be the best solution for Android, but it seems that it is not yet available for iOS.

Please suggest if you have ideas on this front. If there is a solution that involves recycling on the iOS side, then I'm open to it!

+5
source share
4 answers

I did not have time to wait until alljoyn was launched for iOS and found another acceptable solution that would fit my timeline. I implemented a relay server in between to achieve this.

For others, however, iOS binding is now available for alljoyn (www.alljoyn.org). I have not tried it yet, but the Android version for my application works with alljoyn and it works fine, so I assume that it will do the same for iOS.

, alljoyn, , , .

+1
+4

Venkat, P2P. , , Nat. , . , , P2P. , .

0

I think that there is a limit to the maximum number of simultaneous peer-to-peer connections (max. 8 peers) received by iOS and Android, there is no connection check using alljoyn between iOS and Android devices.

0
source

All Articles