ChannelStart Event
    
 

Description

Fires when specific channel has started.

Syntax

Private Sub object_ChannelStart(Chan, Allow)

The ChannelStart Event syntax has these parts:

PartDescription
objectA wodVPN object.
ChanA VPNChannel object. Reference to the channel that was started.
AllowA Boolean value. When set to False, wodVPN aborts this channel.

Remarks

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

Channels will be started automatically after you Add them.