ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- PK]V%BB addr-i.rinu[U:RDoc::AnyMethod[iI" addr:ETI"IPSocket#addr;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I":Returns the local address as an array which contains ;TI"8address_family, port, hostname and numeric_address.;To:RDoc::Markup::BlankLineo; ; [ I"3If +reverse_lookup+ is +true+ or +:hostname+, ;TI"Ehostname is obtained from numeric_address using reverse lookup. ;TI")Or if it is +false+, or +:numeric+, ;TI"*hostname is same as numeric_address. ;TI"OOr if it is +nil+ or ommitted, obeys to +ipsocket.do_not_reverse_lookup+. ;TI"#See +Socket.getaddrinfo+ also.;T@o:RDoc::Markup::Verbatim; [ I"5TCPSocket.open("www.ruby-lang.org", 80) {|sock| ;TI"B p sock.addr #=> ["AF_INET", 49429, "hal", "192.168.0.128"] ;TI"I p sock.addr(true) #=> ["AF_INET", 49429, "hal", "192.168.0.128"] ;TI"S p sock.addr(false) #=> ["AF_INET", 49429, "192.168.0.128", "192.168.0.128"] ;TI"N p sock.addr(:hostname) #=> ["AF_INET", 49429, "hal", "192.168.0.128"] ;TI"X p sock.addr(:numeric) #=> ["AF_INET", 49429, "192.168.0.128", "192.168.0.128"] ;TI"};T: @format0: @fileI"ext/socket/ipsocket.c;T:0@omit_headings_from_table_of_contents_below0I"Zipsocket.addr([reverse_lookup]) => [address_family, port, hostname, numeric_address] ;T0[I" (*args);T@!FI" IPSocket;TcRDoc::NormalClass00PK]3˥jj inspect-i.rinu[U:RDoc::AnyMethod[iI" inspect:ETI"IPSocket#inspect;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"5Return a string describing this IPSocket object.;T: @fileI"ext/socket/ipsocket.c;T:0@omit_headings_from_table_of_contents_below0I""ipsocket.inspect -> string ;T0[I"();T@FI" IPSocket;TcRDoc::NormalClass00PK] Hgetaddress_orig-c.rinu[U:RDoc::AnyMethod[iI"getaddress_orig:EFI"IPSocket::getaddress_orig;TT: privateo:RDoc::Markup::Document: @parts[: @fileI"lib/ipaddr.rb;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@ FI" IPSocket;TcRDoc::NormalClass0[@TI"getaddress;TPK]\valid_v6%3f-c.rinu[U:RDoc::AnyMethod[iI"valid_v6?:ETI"IPSocket::valid_v6?;TT: privateo:RDoc::Markup::Document: @parts[: @fileI"lib/ipaddr.rb;T:0@omit_headings_from_table_of_contents_below000[I" (addr);T@ FI" IPSocket;TcRDoc::NormalClass00PK]Ʀ peeraddr-i.rinu[U:RDoc::AnyMethod[iI" peeraddr:ETI"IPSocket#peeraddr;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I";Returns the remote address as an array which contains ;TI"9address_family, port, hostname and numeric_address. ;TI"DIt is defined for connection oriented socket such as TCPSocket.;To:RDoc::Markup::BlankLineo; ; [ I"3If +reverse_lookup+ is +true+ or +:hostname+, ;TI"Ehostname is obtained from numeric_address using reverse lookup. ;TI")Or if it is +false+, or +:numeric+, ;TI"*hostname is same as numeric_address. ;TI"OOr if it is +nil+ or ommitted, obeys to +ipsocket.do_not_reverse_lookup+. ;TI"#See +Socket.getaddrinfo+ also.;T@o:RDoc::Markup::Verbatim; [ I"5TCPSocket.open("www.ruby-lang.org", 80) {|sock| ;TI"U p sock.peeraddr #=> ["AF_INET", 80, "carbon.ruby-lang.org", "221.186.184.68"] ;TI"\ p sock.peeraddr(true) #=> ["AF_INET", 80, "carbon.ruby-lang.org", "221.186.184.68"] ;TI"V p sock.peeraddr(false) #=> ["AF_INET", 80, "221.186.184.68", "221.186.184.68"] ;TI"` p sock.peeraddr(:hostname) #=> ["AF_INET", 80, "carbon.ruby-lang.org", "221.186.184.68"] ;TI"Z p sock.peeraddr(:numeric) #=> ["AF_INET", 80, "221.186.184.68", "221.186.184.68"] ;TI"};T: @format0: @fileI"ext/socket/ipsocket.c;T:0@omit_headings_from_table_of_contents_below0I"^ipsocket.peeraddr([reverse_lookup]) => [address_family, port, hostname, numeric_address] ;T0[I" (*args);T@"FI" IPSocket;TcRDoc::NormalClass00PK] recvfrom-i.rinu[U:RDoc::AnyMethod[iI" recvfrom:ETI"IPSocket#recvfrom;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"?Receives a message and return the message as a string and ;TI",an address which the message come from.;To:RDoc::Markup::BlankLineo; ; [I"8_maxlen_ is the maximum number of bytes to receive.;T@o; ; [I"?_flags_ should be a bitwise OR of Socket::MSG_* constants.;T@o; ; [I"0ipaddr is same as IPSocket#{peeraddr,addr}.;T@o:RDoc::Markup::Verbatim; [ I"u1 = UDPSocket.new ;TI" u1.bind("127.0.0.1", 4913) ;TI"u2 = UDPSocket.new ;TI"*u2.send "uuuu", 0, "127.0.0.1", 4913 ;TI"Qp u1.recvfrom(10) #=> ["uuuu", ["AF_INET", 33230, "localhost", "127.0.0.1"]];T: @format0: @fileI"ext/socket/ipsocket.c;T:0@omit_headings_from_table_of_contents_below0I"kipsocket.recvfrom(maxlen) => [mesg, ipaddr] ipsocket.recvfrom(maxlen, flags) => [mesg, ipaddr] ;T0[I" (*args);T@ FI" IPSocket;TcRDoc::NormalClass00PK]2aagetaddress-c.rinu[U:RDoc::AnyMethod[iI"getaddress:ETI"IPSocket::getaddress;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"&Lookups the IP address of _host_.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I":IPSocket.getaddress("localhost") #=> "127.0.0.1" ;TI"3IPSocket.getaddress("ip6-localhost") #=> "::1";T: @format0: @fileI"ext/socket/ipsocket.c;T:0@omit_headings_from_table_of_contents_below0I"3IPSocket.getaddress(host) => ipaddress ;T0[[I"getaddress_orig;Fo;; [;I"lib/ipaddr.rb;T;0I" (p1);T@FI" IPSocket;TcRDoc::NormalClass00PK]Gucdesc-IPSocket.rinu[U:RDoc::NormalClass[iI" IPSocket:ET@I"BasicSocket;To:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I" "::1" ;TI"CIPSocket.getaddress 'broadcasthost' #=> "255.255.255.255" ;TI"BIPSocket.getaddress 'www.ruby-lang.org' #=> "221.186.184.68" ;TI"KIPSocket.getaddress 'www.ccc.de' #=> "2a00:1328:e102:ccc0::122";T: @format0: @fileI"lib/ipaddr.rb;T:0@omit_headings_from_table_of_contents_below000[I"(s);T@FI" IPSocket;TcRDoc::NormalClass00PKnN]ˌvalid_v6%3f-i.rinu[U:RDoc::AnyMethod[iI"valid_v6?:EFI"IPSocket#valid_v6?;TF: privateo:RDoc::Markup::Document: @parts[: @fileI"lib/ipaddr.rb;T:0@omit_headings_from_table_of_contents_below000[I" (addr);T@ FI" IPSocket;TcRDoc::NormalClass00PK]V%BB addr-i.rinu[PK]3˥jj {inspect-i.rinu[PK] H!getaddress_orig-c.rinu[PK]\vvalid_v6%3f-c.rinu[PK]Ʀ  peeraddr-i.rinu[PK] recvfrom-i.rinu[PK]2aagetaddress-c.rinu[PK]Guicdesc-IPSocket.rinu[PKnN],getaddress-i.rinu[PKnN]ˌ/valid_v6%3f-i.rinu[PK `