Open megapro17 opened 2 years ago
Hi @megapro17, it could very well be the case that your connection got relayed by an intermediate peer. This happens if pcp
was not able to hole punch a connection through either of your routers. (this is just a guess)
If that's the case, there a many improvements on the way that address this problem:
https://github.com/libp2p/go-libp2p/issues/1039
Indeed, I just learned that it got merged two months ago. pcp
would definitely benefit from that improvement.
I'm also thinking to indicate in the command line if the connection got relayed.
Thanks for looking. I guess it was because my friend had a shared ip from isp, mine is dedicated. I tried today with both dedicated and it hit 10 MB/s speed, but not for a long time, dropped to about 5 MB/s. I didn't realised it is so difficult to send files, torrents are just working with any connection with maximum speed.
can i have a nightly build to test new branch??
We both have a stable 100 Mbps internet but pcp sends it with about 2.3 MB/s. Does it use multiple threads? I'm using v0.4.0-rc1 Windows.