English 中文(简体)
SSDP 利用M-SEARCH确定共享双倍清单?
原标题:SSDP Get Shared folder list using M-SEARCH?

I am using SSDP to send discover request using M-SEARCH to get list of services present. My requirement is like i want to get list of share folders also which are present in that server.

目前,我以这种方式发出这一请求:

"M-SEARCH * HTTP/1.1
"
    "Host: 239.255.255.250:1900
" 
    "Man: "ssdp:discover"
"
    "ST:upnp:rootdevice
"
    "MX:3
"
    "
";

并且作为这些参数作出反应:

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 also want to have shared folder list which is present on that server. How i can get that ? Any additional parameter i need to specify ? Any code snippet or ideas are welcome.

问题回答

众所周知,只有党卫军才能与党分享。 特殊民主党向你们提供了服务清单,但你转而把服务与共享夹的“任务”联系起来。

在您的榜样中,你需要联系:

Location:http://172.24.17.221:2869/upnphost

这将为你们提供装置配置,包括辅助服务。 诸位需要执行《议定书》,以获得你们想要/需要的服务。 举例来说,内容目录处提供激光器等。

这要求付出的代价远远大于仅仅提出气象-辐射科的请求。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签