holepunchto / hyperdht

The DHT powering Hyperswarm
https://docs.holepunch.to
MIT License
323 stars 46 forks source link

Add --port= to bin #31

Closed da2x closed 4 years ago

da2x commented 4 years ago

Resolves issue #11.

martinheidegger commented 4 years ago

@da2x Thank you for working on this. I tried it out a bit (before seeing this PR) and...

... came up with a slightly different approach in #34. The most important difference being that I create the socket before starting a query on the dht. This is probably important but I am not very familiar with firewall/network behavior with udp.

...I worked on having the dht added as a general command to the @hyperswarm/clihttps://github.com/hyperswarm/cli/pull/4

mafintosh commented 4 years ago

Ya --port is in the swarm cli now :)