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
(
StringArg2
StringArg3
)
(
in long port
,
in long port_internal = 0
,
in StringArg2 desc = ""
,
in StringArg3 proto = "UDP"
,
in long duration = 0
)

Meta