class Socket::ResolutionError

ResolutionError is the error class for socket name resolution.

Public Instance Methods

error_code → integer click to toggle source

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);
}