Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 PHP 中,是否可以响应 SSDP 请求?
我需要一个客户端设备(也是用 PHP 编写的)来搜索主设备(也是用 PHP 编写的——位于同一个网络上)。
基本上,我需要一种检测主设备本地 IP 的方法,因为它并不总是知道设备分配了哪个 IP。