Yeah I guess that would be an issue. Selecting an address or registering all of them seems like the only options.
Another option, is multicast or even UPnP. UPnP advertises on a known multicast address. If you beaconed using UPnP, then have the clients pick it up there would be no configuration needed to find services, and you would no longer be tied to subnets. It's really simple since it uses UDP and HTTP/XML to advertise services. If you are worried about multiple master servers on the same subnet you could advertise the unique ID and have the clients pick one at install time, or even select at runtime or via a menu.
For multicast (non UPnP) you would just have to use an address that isn't a known one and maybe allow the user configure it (to avoid conflicts and allow multiple Master Servers). Then run your protocols over it. Multicasts (and UPnP) are non-routable in most consumer setups (multicast routing protocols do exist though, most people are running them).
And if you use UPnP then when IPv6 starts hitting you hopefully won't need to change too much plumbing, just add the link local multicast address it advertises on.
Anyway it seems ideal for what you are trying to do. I realize they are probably major changes but some things to keep in mind for the future.
Another option, is multicast or even UPnP. UPnP advertises on a known multicast address. If you beaconed using UPnP, then have the clients pick it up there would be no configuration needed to find services, and you would no longer be tied to subnets. It's really simple since it uses UDP and HTTP/XML to advertise services. If you are worried about multiple master servers on the same subnet you could advertise the unique ID and have the clients pick one at install time, or even select at runtime or via a menu.
For multicast (non UPnP) you would just have to use an address that isn't a known one and maybe allow the user configure it (to avoid conflicts and allow multiple Master Servers). Then run your protocols over it. Multicasts (and UPnP) are non-routable in most consumer setups (multicast routing protocols do exist though, most people are running them).
And if you use UPnP then when IPv6 starts hitting you hopefully won't need to change too much plumbing, just add the link local multicast address it advertises on.
Anyway it seems ideal for what you are trying to do. I realize they are probably major changes but some things to keep in mind for the future.
Wuench
My Home Theater/Automation Website
[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
My Home Theater/Automation Website
[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]