| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 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/Socket/ |
Upload File : |
U:RDoc::AnyMethod[iI" unix:EFI"Socket::unix;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Ecreates a new socket connected to path using UNIX socket socket.;To:RDoc::Markup::BlankLine o;
; [I"?If a block is given, the block is called with the socket. ;TI")The value of the block is returned. ;TI"3The socket is closed when this method returns.;T@o;
; [I"2If no block is given, the socket is returned.;T@o:RDoc::Markup::Verbatim; [I"!# talk to /tmp/sock socket.
;TI"&Socket.unix("/tmp/sock") {|sock|
;TI"7 t = Thread.new { IO.copy_stream(sock, STDOUT) }
;TI"# IO.copy_stream(STDIN, sock)
;TI" t.join
;TI"};T:@format0:
@fileI"ext/socket/lib/socket.rb;T:0@omit_headings_from_table_of_contents_below00I"socket;F[ I"(path);T@FI"Socket;TcRDoc::NormalClass00