View Single Post
Old 12-20-2016, 04:34 AM   #6
Steve_Haley
CC iOS Developer
Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.
 
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
Quote:
Originally Posted by chaley View Post
Thanks for the debug log.
The question: why does the broadcast scheme not work? One possibility is that CC is enumerating the IP addresses available to it, selecting one of them without regard to whether it is WiFi or cellular, then broadcasting on only that address. Another is that it is *not* enumerating the addresses but is instead sending the broadcast to 0.0.0.0, something that does not work on all platforms. Steve will need to chime in at some point with how the broadcast code works on iOS CC. FWIW: Android CC enumerates the IP addresses and sends the broadcast on each of them.

....

As for why iOS CC is showing the 10... address, I suspect it is also because iOS CC is taking the first address available to it instead of filtering for a WiFi address.
Ha, an issue with choosing the cellular network and the WiFi network is very likely. The iPhone I use to test and develop doesn't have a SIM card in it, so it's never connected to a cellular network. I'll see what I can do about making it either try all networks, or more intelligently choose the WiFi network, when I next make an update.
Steve_Haley is offline   Reply With Quote