jaanus / ios-android-bonjour

A simple example cross-platform Bonjour implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ios-android-bonjour

This project is a simple implementation on Bonjour advertisers on several platforms, and a Mac tool to communicate with them.

Blog post.

Implementation

osx contains the Xcode project for a iOS Bonjour provider and a Mac tool to talk to the providers. android is an Android provider. Both providers advertise themselves as _jktest._tcp. They both contain a small embedded webserver that serves a “hello world” page at the site root.

OSX installation

The Xcode project uses Cocoapods. Run pod install in the project folder to set everything up.

Android installation

Everything should run out of the box. Just open the project in Android Studio and run it. Since the emulator network setup is weird, this might only work when running on a real Android device with a proper network stack.

About

A simple example cross-platform Bonjour implementation.


Languages

Language:Java 87.8%Language:Swift 11.9%Language:Ruby 0.3%