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"connect:ETI"Socket#connect;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"RRequests 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 ;FI"require 'socket' ;FI"include Socket::Constants ;FI"4socket = Socket.new( AF_INET, SOCK_STREAM, 0 ) ;FI"@sockaddr = Socket.pack_sockaddr_in( 80, 'www.google.com' ) ;FI" socket.connect( sockaddr ) ;FI".socket.write( "GET / HTTP/1.0\r\n\r\n" ) ;FI"results = socket.read ;FS;; i;I"Unix-based Exceptions;To; ; [I"KOn unix-based systems the following system exceptions may be raised if;TI"!the call to _connect_ fails:;To;;;;[o;;0; [o; ; [I"NErrno::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"NErrno::EADDRNOTAVAIL - the specified _sockaddr_ is not available from the;TI"local machine;To;;0; [o; ; [I"NErrno::EAFNOSUPPORT - the specified _sockaddr_ is not a valid address for;TI"1the address family of the specified +socket+;To;;0; [o; ; [I"LErrno::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"RErrno::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"KErrno::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"HErrno::EINPROGRESS - the O_NONBLOCK is set for the +socket+ and the;TI"Iconnection cannot be immediately established; the connection will be;TI"established asynchronously;To;;0; [o; ; [I"NErrno::EINTR - the attempt to establish the connection was interrupted by;TI"Mdelivery 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"NErrno::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"LErrno::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"JErrno::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"LErrno::EPROTOTYPE - the _sockaddr_ has a different type than the socket;TI"(bound to the specified peer address;To;;0; [o; ; [I"KErrno::ETIMEDOUT - the attempt to connect time out before a connection;TI"was made.;T@o; ; [I"KOn unix-based systems if the address family of the calling +socket+ is;TI"IAF_UNIX the follow exceptions may be raised if the call to _connect_;TI"fails:;To;;;;[ o;;0; [o; ; [I"LErrno::EIO - an i/o error occurred while reading from or writing to the;TI"file system;To;;0; [o; ; [I"KErrno::ELOOP - too many symbolic links were encountered in translating;TI"the pathname in _sockaddr_;To;;0; [o; ; [I"GErrno::ENAMETOOLLONG - a component of a pathname exceeded NAME_MAX;TI"Ccharacters, or an entire pathname exceeded PATH_MAX characters;To;;0; [o; ; [I"OErrno::ENOENT - a component of the pathname does not name an existing file;TI"'or the pathname is an empty string;To;;0; [o; ; [I"RErrno::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"HOn 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"RErrno::EINPROGRESS - a blocking socket is in progress or the service provider;TI"Nis 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"NErrno::EADDRNOTAVAIL - the remote address is not a valid address, such as;TI".ADDR_ANY TODO check ADDRANY TO INADDR_ANY;To;;0; [o; ; [I"PErrno::EAFNOSUPPORT - addresses in the specified family cannot be used with;TI"with this +socket+;To;;0; [o; ; [I"RErrno::ECONNREFUSED - the target _sockaddr_ was not listening for connections;TI"#refused the connection request;To;;0; [o; ; [I"NErrno::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"KErrno::ETIMEDOUT - the attempt to connect time out before a connection;TI"was made.;To;;0; [o; ; [I"EErrno::EWOULDBLOCK - the socket is marked as nonblocking and the;TI"/connection cannot be completed immediately;To;;0; [o; ; [I"FErrno::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: @file0I"+socket.connect(remote_sockaddr) => 0 ;T0[ I" (p1);FI"ext/socket/socket.c;T