UPNPUPNPResult Enumeration |
[Missing <summary> documentation for "T:Godot.UPNP.UPNPResult"]
Namespace: Godot
public enum UPNPResult
| Member name | Value | Description | |
|---|---|---|---|
| Success | 0 | UPNP command or discovery was successful. | |
| NotAuthorized | 1 | Not authorized to use the command on the UPNPDevice. May be returned when the user disabled UPNP on their router. | |
| PortMappingNotFound | 2 | No port mapping was found for the given port, protocol combination on the given UPNPDevice. | |
| InconsistentParameters | 3 | Inconsistent parameters. | |
| NoSuchEntryInArray | 4 | No such entry in array. May be returned if a given port, protocol combination is not found on an UPNPDevice. | |
| ActionFailed | 5 | The action failed. | |
| SrcIpWildcardNotPermitted | 6 | The UPNPDevice does not allow wildcard values for the source IP address. | |
| ExtPortWildcardNotPermitted | 7 | The UPNPDevice does not allow wildcard values for the external port. | |
| IntPortWildcardNotPermitted | 8 | The UPNPDevice does not allow wildcard values for the internal port. | |
| RemoteHostMustBeWildcard | 9 | The remote host value must be a wildcard. | |
| ExtPortMustBeWildcard | 10 | The external port value must be a wildcard. | |
| NoPortMapsAvailable | 11 | No port maps are available. May also be returned if port mapping functionality is not available. | |
| ConflictWithOtherMechanism | 12 | Conflict with other mechanism. May be returned instead of if a port mapping conflicts with an existing one. | |
| ConflictWithOtherMapping | 13 | Conflict with an existing port mapping. | |
| SamePortValuesRequired | 14 | External and internal port values must be the same. | |
| OnlyPermanentLeaseSupported | 15 | Only permanent leases are supported. Do not use the duration parameter when adding port mappings. | |
| InvalidGateway | 16 | Invalid gateway. | |
| InvalidPort | 17 | Invalid port. | |
| InvalidProtocol | 18 | Invalid protocol. | |
| InvalidDuration | 19 | Invalid duration. | |
| InvalidArgs | 20 | Invalid arguments. | |
| InvalidResponse | 21 | Invalid response. | |
| InvalidParam | 22 | Invalid parameter. | |
| HttpError | 23 | HTTP error. | |
| SocketError | 24 | Socket error. | |
| MemAllocError | 25 | Error allocating memory. | |
| NoGateway | 26 | No gateway available. You may need to call Discover(Int32, Int32, String) first, or discovery didn't detect any valid IGDs (InternetGatewayDevices). | |
| NoDevices | 27 | No devices available. You may need to call Discover(Int32, Int32, String) first, or discovery didn't detect any valid UPNPDevices. | |
| UnknownError | 28 | Unknown error. |