UPNPDeviceAddPortMapping Method |
Adds a port mapping to forward the given external port on this UPNPDevice for the given protocol to the local machine. See AddPortMapping(Int32, Int32, String, String, Int32).
Namespace: Godot
public int AddPortMapping( int port, int portInternal = 0, string desc = "", string proto = "UDP", int duration = 0 )
[Missing <param name="port"/> documentation for "M:Godot.UPNPDevice.AddPortMapping(System.Int32,System.Int32,System.String,System.String,System.Int32)"]
[Missing <param name="portInternal"/> documentation for "M:Godot.UPNPDevice.AddPortMapping(System.Int32,System.Int32,System.String,System.String,System.Int32)"]
[Missing <param name="desc"/> documentation for "M:Godot.UPNPDevice.AddPortMapping(System.Int32,System.Int32,System.String,System.String,System.Int32)"]
[Missing <param name="proto"/> documentation for "M:Godot.UPNPDevice.AddPortMapping(System.Int32,System.Int32,System.String,System.String,System.Int32)"]
[Missing <param name="duration"/> documentation for "M:Godot.UPNPDevice.AddPortMapping(System.Int32,System.Int32,System.String,System.String,System.Int32)"]
[Missing <returns> documentation for "M:Godot.UPNPDevice.AddPortMapping(System.Int32,System.Int32,System.String,System.String,System.Int32)"]