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

by wodDamir, (6024 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

locked

Complete thread: