| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/BasicSocket/ |
Upload File : |
U:RDoc::AnyMethod[iI"
shutdown:ETI"BasicSocket#shutdown;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"#Calls shutdown(2) system call.;To:RDoc::Markup::BlankLine o;
; [I"8s.shutdown(Socket::SHUT_RD) disallows further read.;T@o;
; [I"9s.shutdown(Socket::SHUT_WR) disallows further write.;T@o;
; [I"Ds.shutdown(Socket::SHUT_RDWR) disallows further read and write.;T@o;
; [I"#_how_ can be symbol or string:;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o;
; [I"G:RD, :SHUT_RD, "RD" and "SHUT_RD" are accepted as Socket::SHUT_RD.;To;;0; [o;
; [I"G:WR, :SHUT_WR, "WR" and "SHUT_WR" are accepted as Socket::SHUT_WR.;To;;0; [
o;
; [I"Q:RDWR, :SHUT_RDWR, "RDWR" and "SHUT_RDWR" are accepted as Socket::SHUT_RDWR.;T@o;
; [I"UNIXSocket.pair {|s1, s2|;To:RDoc::Markup::Verbatim; [I"s1.puts "ping"
;TI"s1.shutdown(:WR)
;TI"%p s2.read #=> "ping\n"
;TI"s2.puts "pong"
;TI"s2.close
;TI"%p s1.read #=> "pong\n"
;T:@format0o;
; [I"};T:
@fileI"ext/socket/basicsocket.c;T:0@omit_headings_from_table_of_contents_below0I"&basicsocket.shutdown([how]) => 0
;T0[ I"(p1 = v1);T@:FI"BasicSocket;TcRDoc::NormalClass00