/usr/lib/python3/dist-packages/twisted/protocols/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/protocols/__pycache__/socks.cpython-310.pyc (8937B)
o
b @ s d Z ddlZddlZddlZddlZddlmZmZmZ ddl m
Z
G dd dejZG dd dejZ
G d d
d
ejZG dd dejZG d
d dejZdS )z)
Implementation of the SOCKSv4 protocol.
N)deferprotocolreactor)logc @ s4 e Zd Zdd Zdd Zdd Zdd Zd d
ZdS )SOCKSv4Outgoingc C
|| _ d S N)socksselfr r 9/usr/lib/python3/dist-packages/twisted/protocols/socks.py__init__
zSOCKSv4Outgoing.__init__c C s. | j }| jjdd|j|jd | | j_d S )NZ r )portip) transportgetPeerr makeReplyr host otherConn)r peerr r r
connectionMade s
zSOCKSv4Outgoing.connectionMadec C | j j d S r r r loseConnectionr reasonr r r
connectionLost zSOCKSv4Outgoing.connectionLostc C | j | d S r r writer datar r r
dataReceived! r zSOCKSv4Outgoing.dataReceivedc C | j | | | j| d S r r r r r# r$ r r r
r# $ zSOCKSv4Outgoing.writeN)__name__
__module____qualname__r r r r&