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/UNIXSocket/recvfrom-i.ri
U:RDoc::AnyMethod[iI"
recvfrom:ETI"UNIXSocket#recvfrom;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I")Receives a message via _unixsocket_.;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"H_outbuf_ will contain only the received data after the method call ;TI".even if it is not empty at the beginning.;T@o:RDoc::Markup::Verbatim;	[I"'s1 = Socket.new(:UNIX, :DGRAM, 0)
;TI")s1_ai = Addrinfo.unix("/tmp/sock1")
;TI"s1.bind(s1_ai)
;TI"
;TI"'s2 = Socket.new(:UNIX, :DGRAM, 0)
;TI")s2_ai = Addrinfo.unix("/tmp/sock2")
;TI"s2.bind(s2_ai)
;TI"'s3 = UNIXSocket.for_fd(s2.fileno)
;TI"
;TI"s1.send "a", 0, s2_ai
;TI";p s3.recvfrom(10) #=> ["a", ["AF_UNIX", "/tmp/sock1"]];T:@format0:
@fileI"ext/socket/unixsocket.c;T:0@omit_headings_from_table_of_contents_below0I"Lunixsocket.recvfrom(maxlen [, flags[, outbuf]]) => [mesg, unixaddress]
;T0[I"(*args);T@&FI"UNIXSocket;TcRDoc::NormalClass00