Class
ResolutionError
is the error class for socket name resolution.
Instance Methods
ext/socket/init.c
View on GitHub
static VALUE
sock_resolv_error_code(VALUE self)
{
return rb_attr_get(self, id_error_code);
}
Returns the raw error code occurred at name resolution.