I am writing a upnp application using Cling library. To get my Services/Server I do something like this.
public void searchForServers( ) {
/*
do stuff....
*/
// Search for new devices
getUpnpService().getControlPoint().search(new UDADeviceTypeHeader( new UDADeviceType("MyFantasticService")));
}
I had expected that the Registry only should contain instances of "MyFantasticService" but it turns out that a lot of different upnp devices seems to answer my call....
Have I misunderstood something here? Seems pretty clear how to do in the manual..
Added a filter of my own, to let only valid services pass to the registry.