Description Fires when mediator receives first packet from one peer.
Syntax
Private Sub object_MediatorConnected(IP, Port, FromID, ToID, Data, Allow)
The MediatorConnected Event syntax has these parts:
|
object | A wodVPN object. | IP | A String value.
IP from where search packet arrived. | Port | A Long value.
Port from where search packet arrived. | FromID | A String value.
Peer ID that searches other peer. | ToID | A String value.
Peer ID that is searched for. | Data | A String value.
Data that is sent to other peer. | Allow | A Boolean value.
When set to False, peer request is discarded. |
Remarks This event fires when new packet arrives from
peer that is currently not on internal mediator's list. At this time,
mediator will store peer's details and will search internal list to see
if peer searched in ToID is found in the list too. If he is
found, mediator sends packet back to originating Peer with other peer's
information. Nothing more is done by the mediator. If other side wants
to get those details too, it should send search packet again.
|