UPNPDiscover Method |
Discovers local UPNPDevices. Clears the list of previously discovered devices.
Filters for IGD (InternetGatewayDevice) type devices by default, as those manage port forwarding. timeout is the time to wait for responses in milliseconds. ttl is the time-to-live; only touch this if you know what you're doing.
See UPNPUPNPResult for possible return values.
Namespace: Godot
public int Discover( int timeout = 2000, int ttl = 2, string deviceFilter = "InternetGatewayDevice" )
[Missing <param name="timeout"/> documentation for "M:Godot.UPNP.Discover(System.Int32,System.Int32,System.String)"]
[Missing <param name="ttl"/> documentation for "M:Godot.UPNP.Discover(System.Int32,System.Int32,System.String)"]
[Missing <param name="deviceFilter"/> documentation for "M:Godot.UPNP.Discover(System.Int32,System.Int32,System.String)"]
[Missing <returns> documentation for "M:Godot.UPNP.Discover(System.Int32,System.Int32,System.String)"]