kadence/traverse~ UPNPStrategy

Uses UPnP to attempt port forward on gateway device

Constructor

new UPNPStrategy(optionsopt)

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDefaultDescription
publicPortnumber<optional>
contact.port

Port number to map

mappingTtlnumber<optional>
0

TTL for mapping on router

Extends

Methods

exec(node, callback)

Parameters:
NameTypeDescription
nodeKademliaNode
callbackfunction