How does Bonjour device establish a two-way connection without assigning IP ?

Assume "My Home Wi-Fi" is configured as a DHCP server in range of 192.168.1.*


1 - "iPhone" is connected to "My Home Wi-Fi" and has an assigned IP of 192.168.1.100

2 - Power-on "My Linux Device" running a bonjour ( avahi ) server. "My Linux Device" has *not* joined "My Home Wi-Fi" and has no IP address.

3 - Launch "My iOS App"

4 - "My iOS App" discovers "My Linux Device"

5 - How does "My iOS App" establish a 2-way conenction with "My Linux Device" without disconnecting from "My Home Wi-Fi"


My goal is to establish a 2-way connection between iPhone and "My Linux Device", send a file, then disconenct without forcing the iPhone user to reconnect to "My Home Wi-Fi".


Does the Bonjour device self-assign a 192.168.1.* IP address after ARP'ing to check it is being used or not?


Or are two-way conenctions using some kind of multicast?


Thanks in advance for any clues,


-Ed

1 - "iPhone" is connected to "My Home Wi-Fi" and has an assigned IP of 192.168.1.100

2 - Power-on "My Linux Device" running a bonjour ( avahi ) server. "My Linux Device" has not joined "My Home Wi-Fi" and has no IP address.

3 - Launch "My iOS App"

4 - "My iOS App" discovers "My Linux Device"

5 - How does "My iOS App" establish a 2-way conenction with "My Linux Device" without disconnecting from "My Home Wi-Fi"

I’m not sure what you’re asking here. Reading the above I can see two interpretations:

  • You’ve got this working and you’re asking how it works.

  • You’d like to get this working and you’re asking how you can make it work.

Which is it?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
How does Bonjour device establish a two-way connection without assigning IP ?
 
 
Q