Server IP : 111.118.215.189 / Your IP : 216.73.216.162 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/BasicSocket/ |
[ Home ] | [ C0mmand ] | [ 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