Description
-
Determines if component uses
UPNP
to open ports on firewall.
Property type
-
A Boolean value.
Syntax
-
object.UseUPnP [=
value]
The UseUPnP Property syntax has these parts:
| object |
An expression evaluating to an object
of type wodXMPP. |
| value |
A Boolean value. |
Remarks
-
Setting the UseUPnP property to True will cause wodXMPP to try to
discover any (Universal
Plug and Play) UPnP-capable devices on local network, and will
try to open external ports on those devices before file transfer is
initiated. It will use that IP/Port when it notifies remote contact
about possible IP/Ports where it could try to connect. More than one
such device can exist on the network. wodXMPP will try to use all of
them, if available.
wodXMPP will send instruction to UPnP device to open port when you
issue SendFile method. UPnP port will remain open only until file
transfer completes, or you call Disconnect method to disconnect from
the server.
|