Re: How to cancel a Connect1() - WeOnlyDo Discussion board

Re: How to cancel a Connect1() (General questions)

by wodDamir, Friday, November 07, 2008, 16:48 (5859 days ago) @ bencoder

Ben,

At 1) you mean re-start a broken connection? If so, yes, that should work.

As for second question, are we talking about Stopping Search, or stopping Connect method?

In case of Search, you should use RetryCount property and set it to 0 so wodVPN doesn't retry.

In case of Connect, Disconnect should fo fine.

Hope this helps.

Regards,
Damba


Complete thread: