ChannelStart Method
      
 

Description

Called when specific channel has started.

Return Type

None  

Syntax

object.ChannelStart Owner, Chan, Allow

The ChannelStart 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 the channel that was started.
AllowA Boolean value. When set to False, wodVPN aborts this channel.

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.

ChannelStart notification method is called after wodVPN successfully starts listening on predefined port or gets notification from remote wodVPN instance that it has started listening (and accepting) incoming connections. After this callback method is called, you can start using this channel for tunneling.

Channel will be started automatically after you Add it.