Contains overloads
Synopses
Declared in <netbase.h>
Check whether a network is currently reachable.
[[nodiscard, requires_capability(0x7fb98611ad48), requires_capability(0x7fb96e2cd038), requires_capability(0x7fb97a08c988), requires_capability(0x7fb9663766f8), requires_capability(0x7fb96a28e508), requires_capability(0x7fb977b82b18), requires_capability(0x7fb95e84bef8), requires_capability(0x7fb979f7a858), requires_capability(0x7fb95fbec838), requires_capability(0x7fb95c880468), requires_capability(0x7fb97755b9e8), requires_capability(0x7fb96f3ae838), requires_capability(0x7fb967597f28), requires_capability(0x7fb9782e55a8), requires_capability(0x7fb97542f218)]]
bool
Contains(Network net) const;
Check whether the network of an address is currently reachable.
[[nodiscard, requires_capability(0x7fb98611ae58), requires_capability(0x7fb96e2cd148), requires_capability(0x7fb97a08ca98), requires_capability(0x7fb966376808), requires_capability(0x7fb96a28e618), requires_capability(0x7fb977b82c28), requires_capability(0x7fb95e84c008), requires_capability(0x7fb979f7a968), requires_capability(0x7fb95fbec948), requires_capability(0x7fb95c880578), requires_capability(0x7fb97755baf8), requires_capability(0x7fb96f3ae948), requires_capability(0x7fb967598038), requires_capability(0x7fb9782e56b8), requires_capability(0x7fb97542f328)]]
bool
Contains(CNetAddr const& addr) const;
Return Value
-
True when the network is reachable.
-
True when the address's network is reachable.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
net |
The network to test. |
addr |
The address whose network is tested. |
Created with MrDocs