A slightly offbeat idea. Have CC use mdns to advertise itself (if android allows that). Then if calibre detects CC, choose the best IP as the IP on the same subnet as CC.
Though I suppose this will not work on networks where mdns is disabled anyway.
Last edited by kovidgoyal; 08-26-2012 at 05:44 AM.
|