Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
asyncio
/
__pycache__
[ HOME ]
Exec
Submit
File Name : trsock.cpython-311.pyc
� �,d� � �( � d dl Z G d� d� � ZdS )� Nc �� � e Zd ZdZdZdej fd�Zed� � � Zed� � � Z ed� � � Z d� Zd � Zd � Z d� Zd� Zd � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� ZdS )�TransportSocketz�A socket-like wrapper for exposing real transport sockets. These objects can be safely returned by APIs like `transport.get_extra_info('socket')`. All potentially disruptive operations (like "socket.close()") are banned. ��_sock�sockc � � || _ d S �Nr )�selfr s �5/opt/alt/python311/lib64/python3.11/asyncio/trsock.py�__init__zTransportSocket.__init__ s � ��� � � � c � � | j j S r )r �family�r s r r zTransportSocket.family s � ��z� � r c � � | j j S r )r �typer s r r zTransportSocket.type s � ��z��r c � � | j j S r )r �protor s r r zTransportSocket.proto s � ��z��r c �j � d| � � � � d| j �d| j �d| j � �}| � � � dk rh | � � � }|r|� d|� �}n# t j $ r Y nw xY w | � � � }|r|� d|� �}n# t j $ r Y nw xY w|� d�S ) Nz<asyncio.TransportSocket fd=z , family=z, type=z, proto=���z, laddr=z, raddr=�>)�filenor r r �getsockname�socket�error�getpeername)r �s�laddr�raddrs r �__repr__zTransportSocket.__repr__ s � � "�4�;�;�=�=� "� "��k� "� "�,0�I� "� "��Z� "� "� � �;�;�=�=�B��� ��(�(�*�*��� .��-�-�e�-�-�A����<� � � ��� ���� ��(�(�*�*��� .��-�-�e�-�-�A����<� � � ��� ���� �w�w�w�s$ � A'