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