I'm trying to build a simple proximity based multiplayer game across devices as a fun side project.<p>I found Bonjour for iOS & Avahi for Linux to work without hiccup for transferring data. Android has been a nightmare. I'm trying to encompass all devices I own (which includes a Gingerbread device) and have tried the following options -<p>1) Android's NSD Manager - Works 4.1+, quite slow and pronounced very buggy by most devs. Crashes quite often in my experience.<p>2) Google's Nearby Connections API (https://developers.google.com/nearby/) - Works 4.1+, but communicates only with Android / iOS - can't get it to communicate with the laptop.<p>3) jmDNS - Works 2.1+, but still buggy and slower than Bonjour speeds. Also, looks like the project has been abandoned so am further worried about bug fixes. This is what I am currently using.<p>Does anyone have suggestions for better mDNS service implementations that can give Bonjour-like performance on Android devices?
I would look into AllJoyn. I've been playing with it for an IoT application, but haven't attempted to build an Android client yet.<p><a href="https://allseenalliance.org/framework" rel="nofollow">https://allseenalliance.org/framework</a>