Hi all. I'm trying to create a program that will allow me to view what a UPnP audio device is playing and (eventually) control that.
I can see a full rundown of all the UPnP information in an XML file that is available at a URL (http://x.x.x.x/xml/zone_player.xml) and is also accessible via intel's UPnP tools.
What is the best way to connect to the device and get information (eg. song currently playing)? As far as I can see, I could either parse the XML file, or connect via UPnP. UPnP would be best, as when I get to the point of controlling the device, simply reading an XML file wouldn't help...
I guess what I really would like to know is, where do I start. I'm pretty new to C, at the moment I've figured I need to initiate an outgoing connection with socket() and so forth - is there a better way to do it? Do I even need to do that? All the documentation on UPnP I can find seems to be for other languages.
Edit: Come to think of it, this is probably in the wrong forum. Can a moderator move it?