⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Addrinfo
/
View File Name :
getaddrinfo-c.ri
U:RDoc::AnyMethod[iI"getaddrinfo:ETI"Addrinfo::getaddrinfo;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"4returns a list of addrinfo objects as an array.;To:RDoc::Markup::BlankLine o; ; [I"NThis method converts nodename (hostname) and service (port) to addrinfo. ;TI"RSince the conversion is not unique, the result is a list of addrinfo objects.;T@o; ; [I">nodename or service can be nil if no conversion intended.;T@o; ; [ I"Dfamily, socktype and protocol are hint for preferred protocol. ;TI"?If the result will be used for a socket with SOCK_STREAM, ;TI"2SOCK_STREAM should be specified as socktype. ;TI"TIf so, Addrinfo.getaddrinfo returns addrinfo list appropriate for SOCK_STREAM. ;TI"GIf they are omitted or nil is given, the result is not restricted.;T@o; ; [I"6Similarly, PF_INET6 as family restricts for IPv6.;T@o; ; [I"Mflags should be bitwise OR of Socket::AI_??? constants such as follows. ;TI"=Note that the exact list of the constants depends on OS.;T@o:RDoc::Markup::Verbatim; [I"4AI_PASSIVE Get address to use with bind() ;TI"0AI_CANONNAME Fill in the canonical name ;TI"2AI_NUMERICHOST Prevent host name resolution ;TI"5AI_NUMERICSERV Prevent service name resolution ;TI"7AI_V4MAPPED Accept IPv4-mapped IPv6 addresses ;TI")AI_ALL Allow all addresses ;TI"<AI_ADDRCONFIG Accept only if any address is assigned ;T:@format0o; ; [I"aNote that socktype should be specified whenever application knows the usage of the address. ;TI"dSome platform causes an error when socktype is omitted and servname is specified as an integer ;TI"Pbecause some port numbers, 512 for example, are ambiguous without socktype.;T@o;; [I"<Addrinfo.getaddrinfo("www.kame.net", 80, nil, :STREAM) ;TI">#=> [#<Addrinfo: 203.178.141.194:80 TCP (www.kame.net)>, ;TI"T# #<Addrinfo: [2001:200:dff:fff1:216:3eff:feb1:44d7]:80 TCP (www.kame.net)>];T; 0: @fileI"ext/socket/raddrinfo.c;T:0@omit_headings_from_table_of_contents_below0I"�Addrinfo.getaddrinfo(nodename, service, family, socktype, protocol, flags) => [addrinfo, ...] Addrinfo.getaddrinfo(nodename, service, family, socktype, protocol) => [addrinfo, ...] Addrinfo.getaddrinfo(nodename, service, family, socktype) => [addrinfo, ...] Addrinfo.getaddrinfo(nodename, service, family) => [addrinfo, ...] Addrinfo.getaddrinfo(nodename, service) => [addrinfo, ...] ;T0[ I":(p1, p2, p3 = v3, p4 = v4, p5 = v5, p6 = v6, p7 = {});T@7FI" Addrinfo;TcRDoc::NormalClass00