UPNPDevice.addPortMapping

Adds a port mapping to forward the given external port on this UPNPDevice for the given protocol to the local machine. See UPNP.addPortMapping.

struct UPNPDevice
@nogc nothrow const
long
addPortMapping
(
in long port
,
in long port_internal = 0
,
in String desc = gs!""
,
in String proto = gs!"UDP"
,
in long duration = 0
)

Meta