c++ - SSDP Get Shared folder list using M-SEARCH? -


i using ssdp send discover request using m-search list of services present. requirement want list of share folders present in server.

currently , sending request in format :

"m-search * http/1.1\r\n"     "host: 239.255.255.250:1900\r\n"      "man: \"ssdp:discover\"\r\n"     "st:upnp:rootdevice\r\n"     "mx:3\r\n"     "\r\n"; 

and response these parameters :

st:upnp:rootdevice usn:uuid:122261ae-7c37-4234-9366-ed5286752f2b::upnp:rootdevice location:http://172.24.17.221:2869/upnphost cache-control:: max-age = 900 server:: linux 

i want have shared folder list present on server. how can ? additional parameter need specify ? code snippet or ideas welcome.

as far know not possible shared folders ssdp only. ssdp gives list of services turn connect service , "ask" shared folders.

in example need connect to:

location:http://172.24.17.221:2869/upnphost 

that give device configuration including supported services. need implement protocol of service want/need shared folders. example contentdirectory service provides folders etc.

this requires lot more afford making m-search request.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -