End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
BasicSocket.do_not_reverse_lookup
BasicSocket.do_not_reverse_lookup => true or false
ext/socket/basicsocket.c
View on GitHub ↗
static VALUE
bsock_do_not_rev_lookup(VALUE _)
{
return rsock_do_not_reverse_lookup?Qtrue:Qfalse;
}
See also
.do_not_reverse_lookup=
#do_not_reverse_lookup
#do_not_reverse_lookup=
.for_fd
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0