ChannelStop Event
    
 

Description

Fires when specific channel has stopped.

Syntax

Private Sub object_ChannelStop(Chan, ErrorCode, ErrorText)

The ChannelStop Event syntax has these parts:

PartDescription
objectA wodVPN object.
ChanA VPNChannel object. Reference to channel that was stopped.
ErrorCodeA Long value. Error code that caused channel to stop. 0 if no errors.
ErrorTextA String value. Text description of the error that occurred, if any.

Remarks

ChannelStop event fires when wodVPN stops accepting new users on specific channel. Also, all users that were using this channel will get their TCP connection dropped (if TCP channel was used).