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.217.130
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 /
Socket /
Delete
Unzip
Name
Size
Permission
Date
Action
AncillaryData
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
Constants
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
Option
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
UDPSource
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
accept-i.ri
604
B
-rw-r--r--
2023-07-26 17:26
accept_loop-c.ri
718
B
-rw-r--r--
2023-07-26 17:26
accept_nonblock-i.ri
2.19
KB
-rw-r--r--
2023-07-26 17:26
bind-i.ri
4.93
KB
-rw-r--r--
2023-07-26 17:26
cdesc-Socket.ri
31.88
KB
-rw-r--r--
2023-07-26 17:26
connect-i.ri
6.94
KB
-rw-r--r--
2023-07-26 17:26
connect_nonblock-i.ri
1.86
KB
-rw-r--r--
2023-07-26 17:26
getaddrinfo-c.ri
1.82
KB
-rw-r--r--
2023-07-26 17:26
gethostbyaddr-c.ri
508
B
-rw-r--r--
2023-07-26 17:26
gethostbyname-c.ri
501
B
-rw-r--r--
2023-07-26 17:26
gethostname-c.ri
537
B
-rw-r--r--
2023-07-26 17:26
getnameinfo-c.ri
1.25
KB
-rw-r--r--
2023-07-26 17:26
getservbyname-c.ri
676
B
-rw-r--r--
2023-07-26 17:26
getservbyport-c.ri
590
B
-rw-r--r--
2023-07-26 17:26
ip_address_list-c.ri
550
B
-rw-r--r--
2023-07-26 17:26
ipv6only%21-i.ri
264
B
-rw-r--r--
2023-07-26 17:26
listen-i.ri
3.97
KB
-rw-r--r--
2023-07-26 17:26
new-c.ri
873
B
-rw-r--r--
2023-07-26 17:26
pack_sockaddr_in-c.ri
721
B
-rw-r--r--
2023-07-26 17:26
pack_sockaddr_un-c.ri
475
B
-rw-r--r--
2023-07-26 17:26
pair-c.ri
885
B
-rw-r--r--
2023-07-26 17:26
recvfrom-i.ri
6.29
KB
-rw-r--r--
2023-07-26 17:26
recvfrom_nonblock-i.ri
2.66
KB
-rw-r--r--
2023-07-26 17:26
sockaddr_in-c.ri
711
B
-rw-r--r--
2023-07-26 17:26
sockaddr_un-c.ri
465
B
-rw-r--r--
2023-07-26 17:26
socketpair-c.ri
897
B
-rw-r--r--
2023-07-26 17:26
sysaccept-i.ri
1.66
KB
-rw-r--r--
2023-07-26 17:26
tcp-c.ri
859
B
-rw-r--r--
2023-07-26 17:26
tcp_server_loop-c.ri
1.81
KB
-rw-r--r--
2023-07-26 17:26
tcp_server_sockets-c.ri
1.51
KB
-rw-r--r--
2023-07-26 17:26
udp_server_loop-c.ri
991
B
-rw-r--r--
2023-07-26 17:26
udp_server_loop_on-c.ri
532
B
-rw-r--r--
2023-07-26 17:26
udp_server_recv-c.ri
991
B
-rw-r--r--
2023-07-26 17:26
udp_server_sockets-c.ri
985
B
-rw-r--r--
2023-07-26 17:26
unix-c.ri
751
B
-rw-r--r--
2023-07-26 17:26
unix_server_loop-c.ri
1.24
KB
-rw-r--r--
2023-07-26 17:26
unix_server_socket-c.ri
936
B
-rw-r--r--
2023-07-26 17:26
unix_socket_abstract_name%3f-c.ri
201
B
-rw-r--r--
2023-07-26 17:26
unpack_sockaddr_in-c.ri
670
B
-rw-r--r--
2023-07-26 17:26
unpack_sockaddr_un-c.ri
536
B
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::AnyMethod[iI" recvfrom:ETI"Socket#recvfrom;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IReceives up to _maxlen_ bytes from +socket+. _flags_ is zero or more;TI"Qof the +MSG_+ options. The first element of the results, _mesg_, is the data;TI"Preceived. The second element, _sender_addrinfo_, contains protocol-specific;TI"'address information of the sender.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Parameters;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"F+maxlen+ - the maximum 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"%# In one file, start this first ;FI"require 'socket' ;FI"include Socket::Constants ;FI"4socket = Socket.new( AF_INET, SOCK_STREAM, 0 ) ;FI"=sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' ) ;FI"socket.bind( sockaddr ) ;FI"socket.listen( 5 ) ;FI"-client, client_addrinfo = socket.accept ;FI"+data = client.recvfrom( 20 )[0].chomp ;FI"/puts "I only received 20 bytes '#{data}'" ;FI" sleep 1 ;FI"socket.close ;FI" ;FI"*# In another file, start this second ;FI"require 'socket' ;FI"include Socket::Constants ;FI"4socket = Socket.new( AF_INET, SOCK_STREAM, 0 ) ;FI"=sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' ) ;FI" socket.connect( sockaddr ) ;FI"-socket.puts "Watch this get cut short!" ;FI"socket.close ;FS;; i;I"Unix-based Exceptions;To; ; [I"UOn unix-based based systems the following system exceptions may be raised if the;TI"call to _recvfrom_ fails:;To;;;;[o;;0; [o; ; [ I"PErrno::EAGAIN - the +socket+ file descriptor is marked as O_NONBLOCK and no;TI"Ndata is waiting to be received; or MSG_OOB is set and no out-of-band data;TI"Fis available and either the +socket+ file descriptor is marked as;TI"EO_NONBLOCK or the +socket+ does not support blocking to wait for;TI"out-of-band-data;To;;0; [o; ; [I"+Errno::EWOULDBLOCK - see Errno::EAGAIN;To;;0; [o; ; [I"?Errno::EBADF - the +socket+ is not a valid file descriptor;To;;0; [o; ; [I"CErrno::ECONNRESET - a connection was forcibly closed by a peer;To;;0; [o; ; [I"LErrno::EFAULT - the socket's internal buffer, address or address length;TI""cannot be accessed or written;To;;0; [o; ; [I"QErrno::EINTR - a signal interrupted _recvfrom_ before any data was available;To;;0; [o; ; [I"QErrno::EINVAL - the MSG_OOB flag is set and no out-of-band data is available;To;;0; [o; ; [I"LErrno::EIO - an i/o error occurred while reading from or writing to the;TI"filesystem;To;;0; [o; ; [I"LErrno::ENOBUFS - insufficient resources were available in the system to;TI"perform the operation;To;;0; [o; ; [I"MErrno::ENOMEM - insufficient memory was available to fulfill the request;To;;0; [o; ; [I"JErrno::ENOSR - there were insufficient STREAMS resources available to;TI"complete the operation;To;;0; [o; ; [I"NErrno::ENOTCONN - a receive is attempted on a connection-mode socket that;TI"is not connected;To;;0; [o; ; [I">Errno::ENOTSOCK - the +socket+ does not refer to a socket;To;;0; [o; ; [I"SErrno::EOPNOTSUPP - the specified flags are not supported for this socket type;To;;0; [o; ; [I"PErrno::ETIMEDOUT - the connection timed out during connection establishment;TI"=or due to a transmission timeout on an active connection;T@S;; i;I"Windows Exceptions;To; ; [I"HOn Windows systems the following system exceptions may be raised if;TI""the call to _recvfrom_ fails:;To;;;;[o;;0; [o; ; [I"*Errno::ENETDOWN - the network is down;To;;0; [o; ; [I"PErrno::EFAULT - the internal buffer and from parameters on +socket+ are not;TI"Ipart of the user address space, or the internal fromlen parameter is;TI".too small to accommodate the peer address;To;;0; [o; ; [I"LErrno::EINTR - the (blocking) call was cancelled by an internal call to;TI"/the WinSock function WSACancelBlockingCall;To;;0; [o; ; [I"OErrno::EINPROGRESS - a blocking Windows Sockets 1.1 call is in progress or;TI"Athe service provider is still processing a callback function;To;;0; [o; ; [ I"MErrno::EINVAL - +socket+ has not been bound with a call to _bind_, or an;TI"Kunknown flag was specified, or MSG_OOB was specified for a socket with;TI"OSO_OOBINLINE enabled, or (for byte stream-style sockets only) the internal;TI"3len parameter on +socket+ was zero or negative;To;;0; [o; ; [I"NErrno::EISCONN - +socket+ is already connected. The call to _recvfrom_ is;TI"Inot permitted with a connected socket on a socket that is connection;TI" oriented or connectionless.;To;;0; [o; ; [I"LErrno::ENETRESET - the connection has been broken due to the keep-alive;TI"Factivity detecting a failure while the operation was in progress.;To;;0; [o; ; [ I"PErrno::EOPNOTSUPP - MSG_OOB was specified, but +socket+ is not stream-style;TI"Msuch as type SOCK_STREAM. OOB data is not supported in the communication;TI"Gdomain associated with +socket+, or +socket+ is unidirectional and;TI""supports only send operations;To;;0; [o; ; [I"IErrno::ESHUTDOWN - +socket+ has been shutdown. It is not possible to;TI"Ccall _recvfrom_ on a socket after _shutdown_ has been invoked.;To;;0; [o; ; [I"JErrno::EWOULDBLOCK - +socket+ is marked as nonblocking and a call to;TI"_recvfrom_ would block.;To;;0; [o; ; [I"QErrno::EMSGSIZE - the message was too large to fit into the specified buffer;TI"and was truncated.;To;;0; [o; ; [I"MErrno::ETIMEDOUT - the connection has been dropped, because of a network;TI"Efailure or because the system on the other end went down without;TI"notice;To;;0; [o; ; [ I"IErrno::ECONNRESET - the virtual circuit was reset by the remote side;TI"Iexecuting a hard or abortive close. The application should close the;TI"Hsocket; it is no longer usable. On a UDP-datagram socket this error;TI"Mindicates a previous send operation resulted in an ICMP Port Unreachable;TI" message.;T: @file0I"ssocket.recvfrom(maxlen) => [mesg, sender_addrinfo] socket.recvfrom(maxlen, flags) => [mesg, sender_addrinfo] ;T0[ I"(*args);FI"ext/socket/socket.c;T