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.
我正在尝试使用 XAML 和 C# 为 LAN (Windows Store App) 开发消息聊天应用程序。那么,首先我怎么能知道基于 IP 地址在 LAN 中可用的人?
任何示例代码或想法来实现这一点?
您不能使用 WinRT 依赖多播 :(
但是,您有 2 个解决方案:
请注意,解决方案 1 仅适用于 LAN,可能会受到路由器和网关配置的限制。