sochix / TLSharp

Telegram client library implemented in C#
1k stars 380 forks source link

Modified TcpClient setup to work with IPv6 addresses, fixing #773. #855

Closed CloneDeath closed 5 years ago

CloneDeath commented 5 years ago

@knocte He's the new PR, with the whitespace gone. Sorry if this is getting confusing.

This is a continuation from #853. There, I attempted to avoid the crash by skipping IPv6 datacenters. In this branch, I actually fixed the crash by changing the way the TcpClient was setup, allowing IPv6 addresses.

knocte commented 5 years ago

Good work!