| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/twisted/internet/test/__pycache__/ |
Upload File : |
�
oj�A � �� � d Z ddlZddlmZ ddlmZ ddlmZmZ ddl m
Z
mZ ddlm
Z
mZ ddlmZmZmZmZ dd lmZ dd
lmZmZ ddlmZ ddlmZ dd
lmZmZ ddl m!Z!m"Z" ddl#m$Z$ d� Z% e%� Z&d� Z' G d� de� Z( G d� d� Z) G d� dee)e(� Z* G d� dee)e(� Z+ e,� j[ e*j] � � e,� j[ e+j] � � y)zU
Tests for implementations of L{IReactorUDP} and the UDP parts of
L{IReactorSocket}.
� N)�implementer)�verifyObject)�defer�error)�IPv4Address�IPv6Address)�Deferred�
maybeDeferred)�IListeningPort�ILoggingContext�IReactorSocket�IReactorUDP)�DatagramProtocol)�LogObserverMixin�findFreePort)�ReactorBuilder)�context)�ILogContext�err)�
GoodClient�Server)�SkipTestc � � d} d} t j t j � } | j d� d}| r| j � |S # t $ r Y �w xY w)z4Returns True if the system can bind an IPv6 address.NF)�::1r T)�socket�AF_INET6�bind�OSError�close)�sock�has_ipv6s �@/usr/lib/python3/dist-packages/twisted/internet/test/test_udp.py� _has_ipv6r# ! s[ � ��D��H�
��}�}�V�_�_�-��� � �*���� ��
�
���O�� �
��
�s �6A � A�Ac � � t sd| _ | S )Nz.Does not work on systems without IPv6 support.)�HAS_IPV6�skip)�fs r"