File: C:/Ruby27-x64/share/ri/2.7.0/system/Socket/gethostbyname-c.ri
U:RDoc::AnyMethod[iI"gethostbyname:ETI"Socket::gethostbyname;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"'Use Addrinfo.getaddrinfo instead. ;TI"9This method is deprecated for the following reasons:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List:
@type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o;
; [I"OThe 3rd element of the result is the address family of the first address. ;TI"HThe address families of the rest of the addresses are not returned.;To;;0; [o;
; [I"&Uncommon address representation: ;TI"=4/16-bytes binary string to represent IPv4/IPv6 address.;To;;0; [o;
; [I"Jgethostbyname() may take a long time and it may block other threads. ;TI"G(GVL cannot be released since gethostbyname() is not thread safe.);To;;0; [o;
; [I"JThis method uses gethostbyname() function already removed from POSIX.;T@o;
; [I"=This method obtains the host information for _hostname_.;T@o:RDoc::Markup::Verbatim; [I"Tp Socket.gethostbyname("hal") #=> ["localhost", ["hal"], 2, "\x7F\x00\x00\x01"];T:@format0:
@fileI"ext/socket/socket.c;T:0@omit_headings_from_table_of_contents_below0I"kSocket.gethostbyname(hostname) => [official_hostname, alias_hostnames, address_family, *address_list]
;T0[ I" (p1);T@/FI"Socket;TcRDoc::NormalClass00