Skip to Content Skip to Search

ResolutionError is the error class for socket name resolution.

Methods
E

Instance Public methods

error_code → integer

Returns the raw error code occurred at name resolution.

static VALUE
sock_resolv_error_code(VALUE self)
{
    return rb_attr_get(self, id_error_code);
}