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.
我刚刚在 vb6 中开发了一个软件,几乎可以部署了,我需要一个功能。
作为抑制网络中多次安装的一种方式,我希望该软件检测是否在同一子网、局域网或属于一个网络的所有子网中安装了另一个副本。
你能给我一些关于如何实现这个功能的想法吗?
我知道我可能会使用winsock 来处理网络的东西,但是怎么做呢?
您可以使用 IPv4 广播或 IPv6 多播将数据包发送到同一子网上的一组(全部)计算机。
人们可以通过打开 Windows 防火墙轻松绕过您提出的安全措施。最好的反盗版措施是从 VB6 迁移到托管在云上的 Web 应用程序.. google SaaS。