Disconnect Method
      
 

Description

Disconnects from remote wodVPN.

Return Type

None  

Syntax

object.Disconnect

The Disconnect Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type wodVPN.

Remarks

Disconnect method will stop sending/receiving UDP traffic between local and remote wodVPN, thus "closing the socket" and breaking the connection and all ongoing transfers. All channels will be closed, and no new channels will be accepted until connection is established again.

When Disconnect is called, component will not be idle. It will still be in Listening state accepting remote connections (since any wodVPN side can actually initiate it). If you want to shut down wodVPN completely, you should use the Stop method.