Class: UPNPStrategy

kadence/traverse~ UPNPStrategy

Uses UPnP to attempt port forward on gateway device

new UPNPStrategy( [options])

Parameters:
Name Type Argument Description
options object <optional>
Properties
Name Type Argument Default Description
publicPort number <optional>
contact.port Port number to map
mappingTtl number <optional>
0 TTL for mapping on router
Source:

Extends

Methods


exec(node, callback)

Parameters:
Name Type Description
node KademliaNode
callback function
Overrides:
Source: