Skyost / Bonsoir

A Zeroconf library that allows you to discover network services and to broadcast your own. Based on Apple Bonjour and Android NSD.
http://bonsoir.skyost.eu/
Other
100 stars 43 forks source link

Broadcast on specific interface #92

Open pmaAdvensyn opened 2 months ago

pmaAdvensyn commented 2 months ago

I have an issue with a device that has 2 interfaces (Wi-Fi and Ethernet with 2 different IP addresses).

Currently, when I initiate the discovery from another device, I randomly receive either the Ethernet IP or the Wi-Fi IP during the resolution of the IP.

Is it possible to launch the broadcast with a specific interface?

Skyost commented 2 months ago

Currently, when I initiate the discovery from another device, I randomly receive either the Ethernet IP or the Wi-Fi IP during the resolution of the IP.

So the problem occurs with the broadcast of the first device. Which platform are you using ?

pmaAdvensyn commented 2 months ago

Android platform (for all devices in environment) but with devices can contains both interface ethernet + wifi