MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / scope

Method scope

MonaBase/sources/IPAddress.cpp:108–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 IPAddress::Family family() const {return IPAddress::IPv4;}
107
108 UInt32 scope() const { return 0; }
109 bool isWildcard() const { return _addr.s_addr == INADDR_ANY; }
110 bool isBroadcast() const { return _addr.s_addr == INADDR_NONE; }
111 bool isAnyBroadcast() const { return _addr.s_addr == INADDR_NONE || (ntohl(_addr.s_addr) & 0x000000FF) == 0x000000FF; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected