Reputation: 19788
I would like to exchange information between two or more devices (Android and/or iOS).
All the devices will be connected by WIFI to the same Router.
Upvotes: 3
Views: 1829
Reputation: 3299
If you are willing to develop using Xamarin.iOS and Xamarion.Android you could consider using the network library NetworkComms.Net (which uses sockets under the hood) to quickly add the the functionality you are looking for. Example iOS and Android applications are provided.
Device discovery would be achieved using the included UDP broadcast support.
Disclaimer: Although I think this is a good fit for your problem I have to add that I am a developer for NetworkComms.Net.
Upvotes: 3
Reputation: 30088
I believe that @Wain is referring to Bonjour (on iOS), which is an Apple implementation of the Zeroconf protocol.
For Android, have a look at jmDNS - see http://android.noisepages.com/2010/02/yes-android-can-do-zeroconfbonjour-jmdns/
There's an example of using it here
Upvotes: 2
Reputation: 119031
You can use mDNSResponder
to allow the different decides to discover each other and connect.
Upvotes: 1