HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Socket/unix_server_socket-c.ri
U:RDoc::AnyMethod[iI"unix_server_socket:ETI"Socket::unix_server_socket;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"+creates a UNIX server socket on _path_;To:RDoc::Markup::BlankLineo;
;	[I"6If no block given, it returns a listening socket.;T@o;
;	[I"XIf a block is given, it is called with the socket and the block value is returned. ;TI"OWhen the block exits, the socket is closed and the socket file is removed.;T@o:RDoc::Markup::Verbatim;	[
I"2socket = Socket.unix_server_socket("/tmp/s")
;TI"2p socket                  #=> #<Socket:fd 3>
;TI"Cp socket.local_address    #=> #<Addrinfo: /tmp/s SOCK_STREAM>
;TI"
;TI"1Socket.unix_server_socket("/tmp/sock") {|s|
;TI"2  p s                     #=> #<Socket:fd 3>
;TI"H  p s.local_address       #=> # #<Addrinfo: /tmp/sock SOCK_STREAM>
;TI"};T:@format0:
@fileI"ext/socket/lib/socket.rb;T:0@omit_headings_from_table_of_contents_below00I"s;T[I"(path);T@ FI"Socket;TcRDoc::NormalClass00