Click or drag to resize

UPNPUPNPResult Enumeration

[Missing <summary> documentation for "T:Godot.UPNP.UPNPResult"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum UPNPResult
Members
  Member nameValueDescription
Success0

UPNP command or discovery was successful.

NotAuthorized1

Not authorized to use the command on the UPNPDevice. May be returned when the user disabled UPNP on their router.

PortMappingNotFound2

No port mapping was found for the given port, protocol combination on the given UPNPDevice.

InconsistentParameters3

Inconsistent parameters.

NoSuchEntryInArray4

No such entry in array. May be returned if a given port, protocol combination is not found on an UPNPDevice.

ActionFailed5

The action failed.

SrcIpWildcardNotPermitted6

The UPNPDevice does not allow wildcard values for the source IP address.

ExtPortWildcardNotPermitted7

The UPNPDevice does not allow wildcard values for the external port.

IntPortWildcardNotPermitted8

The UPNPDevice does not allow wildcard values for the internal port.

RemoteHostMustBeWildcard9

The remote host value must be a wildcard.

ExtPortMustBeWildcard10

The external port value must be a wildcard.

NoPortMapsAvailable11

No port maps are available. May also be returned if port mapping functionality is not available.

ConflictWithOtherMechanism12

Conflict with other mechanism. May be returned instead of if a port mapping conflicts with an existing one.

ConflictWithOtherMapping13

Conflict with an existing port mapping.

SamePortValuesRequired14

External and internal port values must be the same.

OnlyPermanentLeaseSupported15

Only permanent leases are supported. Do not use the duration parameter when adding port mappings.

InvalidGateway16

Invalid gateway.

InvalidPort17

Invalid port.

InvalidProtocol18

Invalid protocol.

InvalidDuration19

Invalid duration.

InvalidArgs20

Invalid arguments.

InvalidResponse21

Invalid response.

InvalidParam22

Invalid parameter.

HttpError23

HTTP error.

SocketError24

Socket error.

MemAllocError25

Error allocating memory.

NoGateway26

No gateway available. You may need to call Discover(Int32, Int32, String) first, or discovery didn't detect any valid IGDs (InternetGatewayDevices).

NoDevices27

No devices available. You may need to call Discover(Int32, Int32, String) first, or discovery didn't detect any valid UPNPDevices.

UnknownError28

Unknown error.

See Also