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