upnp - 使用 SSDP 搜索 UPnP 设备

标签 upnp ssdp

我想在网络上搜索我的媒体播放器。我认为它是使用 SSDP m-search 完成的吗?

此外,当我打开设备时,它会广播其可用性吗?我该如何收听该广播,以及如何发送移动搜索查询?

最佳答案

I want to search for my media player on the network. Am I right in thinking it is done using SSDP m-search?

是的。

Also, when I switch the device on, will it broadcast its availability?

是的

How do I go about listening for that broadcast, and how do I send the m-search query?

您需要绑定(bind)到 UDP 多播组 239.255.255.250:1900M-SEARCH 查询被发送到同一地址。

关于upnp - 使用 SSDP 搜索 UPnP 设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5904323/

相关文章:

javascript - 尝试从 Cordova 插件调用 SSDP 函数

安卓 : Find UPnP devices from network

c# - 我可以立即使用 UPnP 转发端口范围​​吗?

.net - 如何指导创建 uPNP iPhone 应用程序?

Android:SSDP 卡在 MulticastSocket.receive() 上

upnp - 将网络视频流式传输到 Roku

iphone - 我希望在 iPhone 中实现 Platinum UPnP

android - 当 android 模拟器已经被 Windows 使用时,如何让它使用端口 1900?

rebol - 我如何加入 Rebol 中的 SSDP 多播组?

c++ - Linux 上的简单服务发现