anacrolix / dht

dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise
Mozilla Public License 2.0
313 stars 66 forks source link

using anacrolix/dht for holepunching? #47

Closed vboehr closed 3 years ago

vboehr commented 3 years ago

I am trying to build a p2p network and I am just asking can this dht github.com/anacrolix/dht be used for holepunshing and if so how to provide the tcp listening internal port?

anacrolix commented 3 years ago

No I don't think so. If you can provide some links to what's involved I could answer more comprehensively.

anacrolix commented 3 years ago

I'm not sure if it's what you're asking, but when you announce to the DHT you typically provide a port, which can be a TCP port for your local BitTorrent client. I don't know how else to answer this issue. Please open a discussion if you have further questions.