⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
UNIXSocket
/
View File Name :
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::BlankLine o; ; [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