Function UPNP.discover
Discovers local UPNPDevice
s. 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 upnpresult
for possible return values.
long discover
(
const(long) timeout = 2000L,
const(long) ttl = 2L,
const(String) device_filter = GodotStringLiteral() .str()
) nothrow @nogc;