Description Fires when wodVPN connects to remote wodVPN instance.
Syntax
Private Sub object_Connected(PeerID, IP, Port)
The Connected Event syntax has these parts:
|
object | A wodVPN object. | PeerID | A String value. Holds ID of remote peer, as he specified it in
MyID property. | IP | A String value. Holds IP address where UDP packets are sent to remote peer. | Port | A Long value. Holds remote UDP port where packets are sent. |
Remarks After remote wodVPN peer is located (through
Search method), and
Connect method was called, wodVPN will try to connect to remote wodVPN peer. After successful connection, this event will be fired. Now you can
Add channels to begin forwarding ports between local and remote side, can send
text messages etc. When you want to disconnect from remote wodVPN instance, use
Disconnect method.
|