# Package com.codename1.io.bonjour

package com.codename1.io.bonjour

Bonjour / mDNS-SD service discovery and publication.

`BonjourBrowser` discovers peers advertising a given service type on the local network, and `BonjourPublisher` announces a service from the device. The native plumbing lives behind `BonjourPlatform`, which the active port implements (NSNetService on iOS, NsdManager on Android).

- Related Packages
  Package
  Description
  com.codename1.io
  Networking, Storage, Filesystem & related API's
- Class
  Description
  BonjourBrowser
  Browses the local network for Bonjour / mDNS services.
  BonjourPlatform
  Platform-supplied implementation of the Bonjour / mDNS APIs.
  BonjourPublisher
  Advertises a Bonjour / mDNS service on the local network.
  BonjourService
  A Bonjour / mDNS service discovered by `BonjourBrowser` or registered by `BonjourPublisher`.
  BonjourServiceListener
  Callback for `BonjourBrowser.browse(...)`.