⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.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