End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Addrinfo#ipv6_mc_global?
ipv6_mc_global?
ext/socket/raddrinfo.c
View on GitHub ↗
static VALUE
addrinfo_ipv6_mc_global_p(VALUE self)
{
struct in6_addr *addr = extract_in6_addr(self);
if (addr && IN6_IS_ADDR_MC_GLOBAL(addr)) return Qtrue;
return Qfalse;
}
Returns true for IPv6 multicast global scope address. It returns false otherwise.
See also
#ipv6_loopback?
#ipv6_mc_linklocal?
#ipv6_linklocal?
#ipv6_mc_nodelocal?
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0