File: C:/Ruby27-x64/share/ri/2.7.0/system/TCPSocket/gethostbyname-c.ri
U:RDoc::AnyMethod[iI"gethostbyname:ETI"TCPSocket::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"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"8This method lookups host information by _hostname_.;T@o:RDoc::Markup::Verbatim; [I"*TCPSocket.gethostbyname("localhost")
;TI"/#=> ["localhost", ["hal"], 2, "127.0.0.1"];T:@format0:
@fileI"ext/socket/tcpsocket.c;T:0@omit_headings_from_table_of_contents_below0I"nTCPSocket.gethostbyname(hostname) => [official_hostname, alias_hostnames, address_family, *address_list]
;T0[ I" (p1);T@*FI"TCPSocket;TcRDoc::NormalClass00