%PDF- %PDF-
Direktori : /lib/python3/dist-packages/hyperlink/__pycache__/ |
Current File : //lib/python3/dist-packages/hyperlink/__pycache__/_socket.cpython-312.pyc |
� �(_� � � � d dl mZ y# e$ rm d dlmZ erY yd dlZd dl Z G d� dej � Zej j j Z ej j j Zd� ZY yw xY w)� )� inet_pton)� TYPE_CHECKINGNc � � e Zd Zdej fdej fdej dz fdej dz fdej fgZy) �SockAddr� sa_family�__pad1� ipv4_addr� � ipv6_addr� �__pad2N) �__name__� __module__�__qualname__�ctypes�c_short�c_ushort�c_byte�c_ulong�_fields_� � �3/usr/lib/python3/dist-packages/hyperlink/_socket.pyr r sO � ��f�n�n�-��6�?�?�+��f�m�m�a�/�0��f�m�m�b�0�1��6�>�>�*��Hr r c �* � t � }|j d� }| |_ t j t j |� � } t j dt j di| \ }}t || d t j |� t j |� � dk7 r't j t j � � �t j t ||� |� S # t $ r t j d� �w xY w)N�ascii)r r )r r zunknown address familyr )r �encoder r �c_int�sizeof�socket�AF_INET�AF_INET6�KeyError�error�WSAStringToAddressA�byref�FormatError� string_at�getattr)�address_family� ip_string�addr�ip_string_bytes� addr_size� attribute�sizes r r r s� � ��:�D�'�.�.�w�7�O�+�D�N����V�]�]�4�%8�9�I� =��N�N�$4��O�O�%6�#� !�#"�� �4� $�#�"���L�L��&��L�L��+�� �� �l�l�6�#5�#5�#7�8�8��#�#�G�D�)�$<�d�C�C�� � =��l�l�#;�<�<� =�s �(C3 �3D)r r �ImportError�typingr r � Structurer �windll�ws2_32r$ �WSAAddressToStringAr r r �<module>r6 sv ��4D� ��� 2D�$��� �� �v�'�'� � %�m�m�2�2�F�F��$�m�m�2�2�F�F�� D�/2D�s � � A;�A A;�:A;