UserConnected Event
    
 

Description

Fires when user connects to listening channel.

Syntax

Private Sub object_UserConnected(Chan, User)

The UserConnected Event syntax has these parts:

PartDescription
objectA wodVPN object.
ChanA VPNChannel object. Reference to channel that is being used.
UserA VPNUser object. Reference to user that has connected.

Remarks

UserConnected event is fired after you have allowed user to connect and use channel they have chosen. From this point, user will be communicating with remote service through encrypted channel.

There will be no further interference between wodVPN and the user - all his data will be forwarded to remote wodVPN peer, and vice versa. When user disconnects, UserDisconnected event will be fired.