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.
我需要一个用 Delphi 编写的函数来知道一个 IP 是否属于某个 NETMASK SUBNET。我对网络知之甚少,但我需要一个函数来做到这一点。如果您能对此提供帮助,我将不胜感激。非常感谢。
你只需要检查一下(IP and MASK) = PREFIX。
(IP and MASK) = PREFIX