kubo/p2p/host/basic
Juan Batiz-Benet 763cc945c0 p2p/host: nat manager
this commit moves management of the nat to its own object.
perhaps this can be general enough to work with any host
(not just BasicHost), but for now keeping here.

the nat manager:
- discovers and sets up the nat asynchronously.
- adds any port mappings necessary if/after nat has been found.
- listens to the network Listen() changes, adding/closing mappings
2015-01-30 20:37:53 -08:00
..
basic_host_test.go swap net2 -> net 2015-01-02 08:46:46 -08:00
basic_host.go p2p/host: nat manager 2015-01-30 20:37:53 -08:00
natmgr.go p2p/host: nat manager 2015-01-30 20:37:53 -08:00