Re: VODVPN in windows service - WeOnlyDo Discussion board

Re: VODVPN in windows service (General questions)

by wodDamir, Saturday, December 03, 2011, 13:41 (4520 days ago) @ Ruslan

Hi Ruslan,

I'm not sure how much I can help since you didn't provide any details on what exactly you're trying to do.

However, please note that there is no blocking done in wodVPN. In other words, component methods are called, and immediately executed without any wait for methods to actually complete. What I believe you're having issues with is that service stops before wodVPN even trying to do anything.

In other words, you'll probably need to call wodVPN in a separate thread, and place some loop into main thread in order to keep service from stopping.

Hope this helps.

Regards,
Damba


Complete thread: