TLSharp icon indicating copy to clipboard operation
TLSharp copied to clipboard

Bad input parameters of tcp handler when i try to use a proxy.

Open victor-pashuk opened this issue 4 years ago • 1 comments

When i try to use a proxy with such code:

var client = new TelegramClient(ApiId, ApiHash,handler: TcpHandler);

.
.
.
 TcpClient TcpHandler(string address, int port)
       {
           var socks = new Socks5ProxyClient("_proxe.adress", _proxy.port);
           var tcp = socks.CreateConnection(address, port);

           return tcp;
       }

I recieve bad input parametres in tcphandler: adress = "49929271795384,"LastMessageId":8,"SequenceNumber":0,"U" port = "1702125924"

victor-pashuk avatar Jul 23 '20 08:07 victor-pashuk

All work fine if i use own build of ur library. I think that there are troubles with nuget package

victor-pashuk avatar Aug 04 '20 11:08 victor-pashuk