Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.60
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
share /
ri /
1.9.1 /
system /
UDPSocket /
Delete
Unzip
Name
Size
Permission
Date
Action
bind-i.ri
494
B
-rw-r--r--
2023-07-26 17:26
cdesc-UDPSocket.ri
435
B
-rw-r--r--
2023-07-26 17:26
connect-i.ri
604
B
-rw-r--r--
2023-07-26 17:26
new-c.ri
577
B
-rw-r--r--
2023-07-26 17:26
recvfrom_nonblock-i.ri
2.25
KB
-rw-r--r--
2023-07-26 17:26
send-i.ri
627
B
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::AnyMethod[iI"recvfrom_nonblock:ETI" UDPSocket#recvfrom_nonblock;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReceives up to _maxlen_ bytes from +udpsocket+ using recvfrom(2) after;TI":O_NONBLOCK is set for the underlying file descriptor.;TI"8If _maxlen_ is omitted, its default value is 65536.;TI"3_flags_ is zero or more of the +MSG_+ options.;TI"DThe first element of the results, _mesg_, is the data received.;TI"YThe second element, _sender_inet_addr_, is an array to represent the sender address.;To:RDoc::Markup::BlankLine o; ; [I" When recvfrom(2) returns 0,;TI">Socket#recvfrom_nonblock returns an empty string as data.;TI"It means an empty packet.;T@S:RDoc::Markup::Heading: leveli: textI"Parameters;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I">+maxlen+ - the number of bytes to receive from the socket;To;;0; [o; ; [I"1+flags+ - zero or more of the +MSG_+ options;T@S;; i;I"Example;To:RDoc::Markup::Verbatim; [I"require 'socket' ;FI"s1 = UDPSocket.new ;FI"s1.bind("127.0.0.1", 0) ;FI"s2 = UDPSocket.new ;FI"s2.bind("127.0.0.1", 0) ;FI")s2.connect(*s1.addr.values_at(3,1)) ;FI")s1.connect(*s2.addr.values_at(3,1)) ;FI"s1.send "aaa", 0 ;FI"'begin # emulate blocking recvfrom ;FI"i p s2.recvfrom_nonblock(10) #=> ["aaa", ["AF_INET", 33302, "localhost.localdomain", "127.0.0.1"]] ;FI"rescue IO::WaitReadable ;FI" IO.select([s2]) ;FI" retry ;FI" end ;Fo; ; [I"ORefer to Socket#recvfrom for the exceptions that may be thrown if the call;TI""to _recvfrom_nonblock_ fails.;T@o; ; [I"ZUDPSocket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure,;TI""including Errno::EWOULDBLOCK.;T@o; ; [I"<If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,;TI"(it is extended by IO::WaitReadable.;TI"]So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.;T@S;; i;I"See;To;;;;[o;;0; [o; ; [I"Socket#recvfrom;T: @file0I"�udpsocket.recvfrom_nonblock(maxlen) => [mesg, sender_inet_addr] udpsocket.recvfrom_nonblock(maxlen, flags) => [mesg, sender_inet_addr] ;T0[ I"(*args);FI"ext/socket/udpsocket.c;T