%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Socket/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Socket/getaddrinfo-c.ri

U:RDoc::AnyMethod[iI"getaddrinfo:ETI"Socket::getaddrinfo;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I";Obtains address information for _nodename_:_servname_.;To:RDoc::Markup::BlankLineo;
;	[I"F_family_ should be an address family such as: :INET, :INET6, etc.;T@o;
;	[I"L_socktype_ should be a socket type such as: :STREAM, :DGRAM, :RAW, etc.;T@o;
;	[I"<_protocol_ should be a protocol defined in the family, ;TI"&and defaults to 0 for the family.;T@o;
;	[I"<_flags_ should be bitwise OR of Socket::AI_* constants.;T@o:RDoc::Markup::Verbatim;	[I"CSocket.getaddrinfo("www.ruby-lang.org", "http", nil, :STREAM)
;TI"p#=> [["AF_INET", 80, "carbon.ruby-lang.org", "221.186.184.68", 2, 1, 6]] # PF_INET/SOCK_STREAM/IPPROTO_TCP
;TI"
;TI"*Socket.getaddrinfo("localhost", nil)
;TI"`#=> [["AF_INET", 0, "localhost", "127.0.0.1", 2, 1, 6],  # PF_INET/SOCK_STREAM/IPPROTO_TCP
;TI"_#    ["AF_INET", 0, "localhost", "127.0.0.1", 2, 2, 17], # PF_INET/SOCK_DGRAM/IPPROTO_UDP
;TI"\#    ["AF_INET", 0, "localhost", "127.0.0.1", 2, 3, 0]]  # PF_INET/SOCK_RAW/IPPROTO_IP
;T:@format0o;
;	[I"H_reverse_lookup_ directs the form of the third element, and has to ;TI"Rbe one of below.  If _reverse_lookup_ is omitted, the default value is +nil+.;T@o;;	[I"r+true+, +:hostname+:  hostname is obtained from numeric address using reverse lookup, which may take a time.
;TI"@+false+, +:numeric+:  hostname is same as numeric address.
;TI"K+nil+:              obey to the current +do_not_reverse_lookup+ flag.
;T;
0o;
;	[I"?If Addrinfo object is preferred, use Addrinfo.getaddrinfo.;T:
@fileI"ext/socket/socket.c;T:0@omit_headings_from_table_of_contents_below0I"rSocket.getaddrinfo(nodename, servname[, family[, socktype[, protocol[, flags[, reverse_lookup]]]]]) => array
;T0[I":(p1, p2, p3 = v3, p4 = v4, p5 = v5, p6 = v6, p7 = v7);T@1FI"Socket;TcRDoc::NormalClass00

Zerion Mini Shell 1.0