UserConnected Method
      
 

Description

Called when user connects to listening channel.

Return Type

None  

Syntax

object.UserConnected Owner, Chan, User

The UserConnected Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type IwodVPNNotify.
Owner A wodVPNCom object. Reference to the wodVPNCom instance that called this notification method.
Chan A VPNChannel object. Reference to channel that is being used.
User A VPNUser object. Reference to user that has connected.

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.

UserConnected notification method is called 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 notification method will be called.