Description Called when new UPnP port mapping was
created.
Return Type
None
Syntax
object.UPnPMapping Owner,
InternalIP, InternalPort, ExternalIP,
ExternalPort
The UPnPMapping Method syntax has these parts:
|
object | An expression evaluating to an object of type IwodVPNNotify. | Owner |
A wodVPNCom object. Reference to the wodVPNCom instance that called this notification method. |
InternalIP | A String value. IP
address of internal interface where UPnP device redirects incoming
packets. |
InternalPort | A Long value.
Port on local computer where UPnP device redirects incoming packets. |
ExternalIP |
A String value. IP address of external interface on UPnP device,
where remote peer will try to connect to. |
RemotePort |
A Long value. Port on UPnP device. |
Remarks This method is called
only if you have implemented the
IwodVPNNotify interface in your
application and the wodVPN1.Notification
property has received a reference to an instance of your implementation. UPnPMapping
notification method is called when wodVPN maps external port on UPnP
device (usually firewall or router device) so that remote peer can
connect to that device to establish connection with your wodVPN
instance. You do not need to make any special setup on your that device
- as long as UPnP service is provided, wodVPN will know how to use it
This notification method can only be called when
UseUPnP property is set to
True.
|