diff --git a/pyrogram/connection/transport/tcp/tcp.py b/pyrogram/connection/transport/tcp/tcp.py index e7d635ae..11990202 100644 --- a/pyrogram/connection/transport/tcp/tcp.py +++ b/pyrogram/connection/transport/tcp/tcp.py @@ -19,10 +19,12 @@ import logging import socket +import socks + log = logging.getLogger(__name__) -class TCP(socket.socket): +class TCP(socks.socksocket): def __init__(self): super().__init__()