Threads Property
      
 

Description

Determines if events are fired in their own threads.

Property type

A Boolean value.  

Syntax

object.Threads [= value]

The Threads Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type wodVPN.
valueA Boolean value.

Remarks

Setting the Threads property to True will cause wodVPN  to create and run all socket-related code in a separate thread.

This can be useful if you use a component in your application which blocks the calling thread completely. When set to True, this property will enable wodVPN to continue to process socket-related messages and thus the connection will be established successfully.

However, in order to set this property to True, your environment must be capable of handling events fired from threads other than the main thread. VB will probably not be able to handle this - especially if you use Fast Notifications (the IwodVPNNotify interface).