组播 Ping (Windows)
我正在尝试实现服务器自动发现,以便客户端能够看到可连接的服务器列表。我想自动发现服务器,即使它们位于不同的子网中。
我读过 Windows 不响应广播 ping,但是是否可以使所有这些服务器加入多播组并在该组上使用多播 ping 来查看哪些服务器已启动?
谢谢
I am trying to implement server auto discovery so that clients will be able to see a list of servers available to connect to. I would like to auto discover servers even if they are in different subnets.
I have read that windows does not respond to broadcast ping, but is it possible to make all these servers to join a multicast group and use multicast ping on the group to see what servers are up?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试零配置网络 (Zeroconf)。
请注意,多个 LAN 网段需要将路由器配置为路由多播流量,但默认情况下并非如此。同样,通常建议启用 IGMP 的交换机用于计算机连接。
Try Zero configuration networking (Zeroconf).
Note multiple LAN segments requires routers to be configured to route multicast traffic, they do not by default. Similarly IGMP enabled switches are usually recommended for computer connectivity.